This chapter describes how to monitor the following types of MessageQ system activity on your system:
Note:
For additional information about using the MessageQ Monitor utility and some of its other managing functions, see Chapter 4, "Managing MessageQ".
To monitor your application's messaging capabilities, you need to collect statistics on the queue and link activity of the groups. Because statistics collection is not automatically started when you invoke the Monitor utility, you must enable statistics-gathering from the utility.
At any time while statistics are enabled, they can be reset for a selected group's links and queues using the Reset parameter. Link and queue statistics can be reset either individually or as a whole. Using Reset zeroes out the statistics collection counters, allowing you to view your application's messaging traffic over short-term periods, which can be useful for detecting messaging bottlenecks.
To enable statistics:
Enabling, Disabling, and Resetting Statistics
Enabling Statistics From the Character-Cell Interface
To disable statistics:
To reset statistics:
To enable, disable, or reset statistics:
You can use the Monitor utility to view link and queue statistics of MessageQ message queuing groups.
Please note that these statistics must be enabled before they can be viewed using the Monitor utility (see the Enabling, Disabling, and Resetting Statistics topic for information about enabling statistics).
Use the following procedure to view all linking and queuing activity from the character-cell interface:
Use the following procedure to view all linking and queuing activity from the Motif interface:
The descriptions and tables in this section explain the link and queue activity that can be viewed using the MessageQ Monitor utility.
You can view statistics with the following dialogs:
Use the Monitor utility to view the connection state and the cumulative messages and bytes for links between groups. Understand that the group for the node from which you are using the Monitor utility will not appear in this dialog; only the groups to which that group is currently connected or could be connected will appear.
Table 5-1 describes the fields of the Link Traffic Counts dialog. Viewing Link Traffic Counts
This dialog can also be useful for diagnosing message flow between cross-group connections. For example, if you sent a cross-group message and it does not show up, yet the Viewing Link Traffic Counts dialog shows that all the links are up, your application may be in error.
Use the Link Information and Traffic Rates menu items to view the connection state and the average byte and message counts per second for the links of all groups. Average bytes and message counts per second are referred to as throughput rates. Table 5-2 describes the fields of the Link Traffic Rates dialog.
The Viewing Link Traffic Rates dialog is useful for checking the put/get rate of messages:
Use the Link Information and Traffic Detail menu items to view the connection state and the average byte and message counts of a single link. Table 5-3 describes the fields of the Link Traffic Detail. Viewing Link Traffic Detail
Use the Link Information and Traffic Detail dialog if you suspect that a traffic problem is occurring between two particular queues. If you want to narrow down the problem further and suspect that the problem is due to one queue only, use the Viewing Queue Traffic Detail dialog.
Use the Link Information and Detail menu items to view the link attributes of a selected group.
Table 5-4 describes the fields of the Link Detail dialog.
Use the Queue Information and Traffic Counts menu items to view the cumulative counts of the messages sent and received for all queues of the group. Note that statistics must be turned on for this dialog to be useful. Table 5-5 describes the fields of the Queue Traffic Counts dialog.
Use the Queue Information and Traffic Rates menu items to view the traffic rates of all queues of a particular group. Traffic rates are defined as the throughput of messages, either sent or received, per second. The Queue Traffic Rates dialog allows you to verify that suspected problems with message throughput exist.
Note that you must reset statistics each time you monitor traffic rates. Failing to do so will result in an inaccurate throughput assessment. Table 5-6 describes the fields of the Queue Traffic Rates dialog.
Note: If you expect to see activity in the messages sent and received per second fields, but see 0.00 instead, try resetting the statistics. If an attached queue is inactive for a significant amount of time, the messages sent/received per second values approach zero because the value is derived as an average since statistics were last reset. Unless statistics are reset, these fields will not give an accurate assessment of recent queue activity.
Use the Queue Information and Traffic Detail menu items to view the message and byte traffic rates of a single queue. Table 5-7 describes the fields of the Queue Traffic Detail dialog.
Use the Queue Information and Detail dialog to view the attributes of a selected queue. If quotas are enabled, they can be viewed from this dialog, Queue Information and Detail shows the last time a queue was attached and detached, which can be useful for determining whether or not your application is truly interacting with a queue.
Table 5-8 describes the fields of the Queue Detail dialog.