counterutil has a variety of flags. A command format for this utility may be as follows:
counterutil -o CounterObject -i 5 -n 10
where,
-o CounterObject represents the counter object alarm, diskusage, serverresponse, db_lock, popstat, imapstat, and httpstat.
-i 5 specifies a 5 second interval.
-n 10 represents the number of iterations (default: infinity).
An example of counterutil usage is as follows:
# 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 ... |