With CJMSP Broker, you can monitor the CJMSP Broker performance information (metrics).
The CJMSP Broker performance information includes information such as the heap size, connection status, percentage of received messages, and percentage of sent messages. This information is displayed on the console and then output to the log file.
Specify how to output the CJMSP Broker performance information in the imq.metrics.interval property. The performance information is output at the intervals specified in this property. Note that the default value is 0 (do not output).
An example of output of the CJMSP Broker performance information is as follows:
KDAN24558-I Displaying broker metrics : Connections: 10 JVM Heap: 13082624 bytes (1501448 free) Threads: 22 (14-1010) In: 3001 msgs (631149 bytes) 4297 pkts (795219 bytes) Out: 1253 msgs (263099 bytes) 5495 pkts (690645 bytes) Rate In: 298 msgs/sec (62622 bytes/sec) 419 pkts/sec (77978 bytes/sec) Rate Out: 125 msgs/sec (26271 bytes/sec) 540 pkts/sec (66573 bytes/sec) |
The following table describes the output items.
Table 7-5 Items output in the CJMSP Broker performance information
Output items | Explanation |
---|---|
Connections | Number of connections for the connection status. |
JVM Heap | The JavaVM heap size used and the amount of memory available. |
Threads | Number of threads used. Note that the number of threads in the example of output is 22. When the connection to CJMSP Broker is only established for a specific time, the number of threads used is automatically updated. The numbers within ( ) (parentheses) are the minimum and maximum values of the thread pool.
|
In | Number of messages received by CJMSP Broker. |
Out | Number of messages sent from CJMSP Broker. |
Rate In | Percentage of messages received by CJMSP Broker. This item also displays the number of messages in one second and the message packets per second. |
Rate Out | Percentage of messages sent from CJMSP Broker. This item also displays the number of messages in one second and the message packets per second. |