If you are not sure what an MQ Server Connection Channel is, check out our Getting Started tutorial. These examples are based on Linux.
In this example, MANAGER01 is the name of the queue manager. This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.
Display the listener status. This assumes you've already created LISTENER01, in this example.
echo "display lsstatus (LISTENER01)" | runmqsc MANAGER01
Following is an example of what will be displayed.
LISTENER(LISTENER01) STATUS(RUNNING) PID(12345)