title: IBM MQ : command to check remote queue managers on remote servers
body: <p>Is there any command similar to <code>dspmq</code> to check a queue managers status on a remote server. </p>
  
  <p>Also i am using the command below to check if a queue exists on queue manager or not. But this command only executes if queue is present on the same server.</p>
  
  <pre><code>echo 'DISPLAY QLOCAL(*)' | runmqsc -e [queue manager] |grep [queuename] 
  </code></pre>
  
  <p>I am stuck as I have a server for which queue is hosted on a different server.</p>
  
  <p>When I execute the above commands they fail.</p>
  
  <p>Are there any commands to check a queue and queue manager on a remote server.</p>