Copyright © Cloud Software Group, Inc. All rights reserved.
Copyright © Cloud Software Group, Inc. All rights reserved.


Chapter 7 Administering Message Queues and Mbox Sets : Using SWDIR\util\swadm to Administer Mbox Sets, Message Queues and Messages : Count Messages in a Queue

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:

 

 
 
The following example counts the messages in all queues:

 

 
 

Copyright © Cloud Software Group, Inc. All rights reserved.
Copyright © Cloud Software Group, Inc. All rights reserved.