Open topic with navigation

TIBCO iProcess® Engine 11.10.0

# 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

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine

Copyright © 1994-2025. Cloud Software Group, Inc. All Rights Reserved.