Sun Java System Messaging Server 6.3 Administration Reference

counters clear

The counters clear sub-command performs the following operations:

  1. Creates the shared memory segment for the channel message and association counters if the segment does not already exist.

  2. Sets all counter values to zero.

  3. When -channels is specified, sets the counts of stored messages, recipients, and volume from the queue cache database.

Available for both interactive and non-interactive modes.


counters clear [-channels] [-associations]

The options for this sub-command are:

Option  

Description  

-channels

Clears the message counters 

-associations

Clears the association counters 

When neither option is specified, both are assumed. When -associations is specified and -channels is not specified, step (3) above is not performed.