Adding the keyword of "total" at the end of "show stat".
book
Article ID: KB0094509
calendar_today
Updated On:
Products
Versions
TIBCO Enterprise Message Service
-
Not Applicable
-
Description
Resolution: Environment: = = = = = = = All
Description: = = = = = =
If 'total' is specified, the commands only show the otal numbers for the specified item and do not print detailed information for wildcard consumers, unidentified producer and routes.
Example #1 ================== A topic subscriber subscribes to a wildcard topic, like "topic.>", the total keyword will suppress the breakdown list of all children topics of topic.>. The following is the output (assuming CONSUMER is enabled in detailed_statistics),
tcp://localhost:7222> show stat consumers topic=topic.> total Total Count Rate/Second User Conn T Destination Msgs Size Msgs Size anonymous 16 T topic.> 2530 2.5 MB 10 10.3 Kb <nobody> 0 T topic.sample 0 0.0 Kb 0 0.0 Kb
tcp://localhost:7222> show stat consumers topic=topic.> Total Count Rate/Second User Conn T Destination Msgs Size Msgs Size anonymous 16 T topic.> 2550 2.6 MB 10 10.3 Kb T topic.sample 2550 2.6 MB 10 10.3 Kb <nobody> 0 T topic.sample 0 0.0 Kb 0 0.0 Kb
Example #2 ================== Create a topic publisher with null destination, and use it to send messages to topic.sample. The total keyword will suppress the topic name. The following is the output (assuming the PRODUCER is enabled in detailed_statistics),
tcp://localhost:7222> show stat producers Total Count Rate/Second User Conn T Destination Msgs Size Msgs Size admin 2 Q $sys.admin 14 2.6 Kb 0 0.0 Kb anonymous 7 - 1 0.1 Kb 0 0.0 Kb T topic.sample 1 0.1 Kb 0 0.0 Kb tcp://localhost:7222> show stat producers total Total Count Rate/Second User Conn T Destination Msgs Size Msgs Size admin 2 Q $sys.admin 15 2.8 Kb 0 0.0 Kb anonymous 7 - 1 0.1 Kb 0 0.0 Kb
Issue/Introduction
Adding the keyword of "total" at the end of "show stat".