Sun Java System Messaging Server 6 2005Q4 관리 설명서

counterutil 출력

counterutil은 다양한 플래그를 가집니다. 이 유틸리티의 명령 형식은 다음과 같습니다.

counterutil -o CounterObject -i 5 -n 10

여기서

-o CounterObject는 카운터 객체 alarm, diskusage, serverresponse , db_lock, popstat, imapstat httpstat를 나타냅니다.

-i 5는 5초 간격을 지정합니다.

-n 10은 반복 횟수(기본값: 무한대)를 나타냅니다.

counterutil의 사용 예는 다음과 같습니다.


# counterutil -o imapstat -i 5 -n 10 
Monitor counteroobject (imapstat) 
registry /gotmail/iplanet/server5/msg-gotmail/counter/counter opened 
counterobject imapstat opened 

count = 1 at 972082466 rh = 0xc0990 oh = 0xc0968 

global.currentStartTime [4 bytes]: 17/Oct/2000:12:44:23 -0700 
global.lastConnectionTime [4 bytes]: 20/Oct/2000:15:53:37 -0700 
global.maxConnections [4 bytes]: 69 
global.numConnections [4 bytes]: 12480 
global.numCurrentConnections [4 bytes]: 48 
global.numFailedConnections [4 bytes]: 0 
global.numFailedLogins [4 bytes]: 15 
global.numGoodLogins [4 bytes]: 10446 
...