Count Messages in a Queue
To display the total count of all the iProcess messages that are currently in a given queue, use the following command:
swadm count_messages queue_id|ALL [EXP]
where:
| • | queue_id is the unique identifier of the queue you want to count messages for. You can find a queue’s identifier using the show_queues command. Enter ALL to count the messages in all queues. |
| • | EXP is an optional parameter used with Oracle databases only. Use it to count all the Oracle exception messages. If this parameter is not specified, count _messages when used on an Oracle system will only include normal messages, with other types of database it will count all the messages. |
The following example counts the messages in queue 5:
swadm count_messages 5
|
|||
| The total count of the messages in the queue 5: 6 |
The following example counts the messages in all queues:
swadm count_messages all
|
|||
| The total count of the messages in the queue 1: 0 The total count of the messages in the queue 2: 0 The total count of the messages in the queue 3: 0 The total count of the messages in the queue 4: 0 The total count of the messages in the queue 5: 6 The total count of the messages in the queue 6: 0 The total count of the messages in the queue 7: 0 |