show stat

show stat consumers [topic=name|queue=name] [user=name]
          [connection=id] [total]
show stat producers [topic=name|queue=name] [user=name]
          [connection=id] [total]
show stat route name [topic=name|queue=name] [total] [wide]
show stat topic name [total] [wide]
show stat queue name [total] [wide]

Displays statistics for the specified item. You can display statistics for consumers, producers, routes, or destinations. Statistic gathering must be enabled for statistics to be displayed. Also, detailed statistics for each item can be displayed if detailed statistic tracking is enabled. Averages for inbound/outbound messages and message size are available if an interval is specified in the rate_interval configuration parameter.

The total keyword specifies that only total number of messages and total message size for the item should be displayed. The wide keyword displays inbound and outbound message statistics on the same line.

See Server Statistics for a complete description of statistics and how to enable/disable statistic gathering options.

Note: When connected to an EMS 8.0 or higher server, this command does not return statistics for offline durable subscribers.