Sun Java System Message Queue 3.7 UR1 Administration Guide

Displaying Connection Service Information

To query and display information about a single service, use the query subcommand.

This is the syntax for the query svc subcommand:

imqcmd query svc -n serviceName [-b 
hostName:portNumber]

The query svc subcommand displays information about the specified service running on the default broker or on a broker at the specified host and port.

For example:

imqcmd query svc -n jms -u admin

After prompting for the password, the command produces output like the following:


Service Name                           jms
Service State                          RUNNING
Port Number                            60920 (dynamic)
                                     
Current Number of Allocated Threads    0
Current Number of Connections          0
                                     
Min Number of Threads                  10
Max Number of Threads                  1000