Author |
Message
|
pandeg |
Posted: Thu Aug 27, 2015 12:08 pm Post subject: executing dspmq command remotely using MQ client |
|
|
Disciple
Joined: 21 Oct 2014 Posts: 195
|
Hi, I want to execute dspmq command from remote server to check the status of queue manager on MQ Server. I was checking dspmq options on IBM knowldege center for MQ version 8 , but could find any option to execute it remotely. Is it possible to execute it remotely the way we execute "runmqsc" command by setting the environment variable or we have to ssh to remote server and then execute dspmq on that server. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Aug 27, 2015 12:18 pm Post subject: Re: executing dspmq command remotely using MQ client |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
pandeg wrote: |
I was checking dspmq options on IBM knowldege center for MQ version 8 |
Great!
pandeg wrote: |
but could find any option to execute it remotely. Is it possible to execute it remotely the way we execute "runmqsc" command by setting the environment variable |
The KC is comprehensive, and almost always doesn't leave things out.
pandeg wrote: |
we have to ssh to remote server and then execute dspmq on that server. |
 _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 27, 2015 12:20 pm Post subject: Re: executing dspmq command remotely using MQ client |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pandeg wrote: |
Is it possible to execute it remotely the way we execute "runmqsc" command by setting the environment variable or we have to ssh to remote server and then execute dspmq on that server. |
dspmq has no remote option. Remember that runmqsc only acquired one in v8.
Depending on your exact requirement there are any number of ways to check queue manager status remotely. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
pandeg |
Posted: Thu Aug 27, 2015 12:53 pm Post subject: Re: executing dspmq command remotely using MQ client |
|
|
Disciple
Joined: 21 Oct 2014 Posts: 195
|
Quote: |
Depending on your exact requirement there are any number of ways to check queue manager status remotely. |
I want to display the status of remote queue manager using a shell script in linux machine. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 27, 2015 12:59 pm Post subject: Re: executing dspmq command remotely using MQ client |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pandeg wrote: |
Quote: |
Depending on your exact requirement there are any number of ways to check queue manager status remotely. |
I want to display the status of remote queue manager using a shell script in linux machine. |
Good for you.
I'm sure you'll find a suitable method.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|