Try using imqcmd to monitor your JMS addresses. It provides basic but useful commands (list, clear, create ...)
It is located at $GLASSFISH_HOME/mq/bin
Try the following commands:
- enter all your jms addresses
./imqcmd list dst
- print information about brokers
./imqcmd query brk
- Show statistics (I think this is what you are looking for). Statistics are updated every 5 seconds by default.
./imqcmd metrics dst -tq -n jms / myQueue -m rts
-m rts means "Message rate". See documentation for other metric details (./imqcmd -h ;-))
Please note: each command asks for a username and password. admin / admin is the default username / password (! = asadmin credentials)
Thibaud
source share