To list all counter objects in a given server’s counter registry:
counterutil -l |
To monitor the content of a counter object imapstat every 5 seconds:
counterutil -o imapstat |
To reset the counter global.maxconnections, associated with the counter object imapstat, to zero:
counterutil -s -o imapstat -c global.maxconnections |
For complete details on counterutil, refer to the counterutil in Sun Java System Messaging Server 6.3 Administration Guide.