Author |
Message
|
Vin |
Posted: Mon Jun 24, 2002 11:35 am Post subject: Running the trigger monitor in the background |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
How do I run the trigger monitor in the background? I mean I don't want to open a separate window and type in runmqtrm -m queueManagerName -q InitiationQueue. I want to start this command so that it runs in the background without having a separate window open. Thanks. |
|
Back to top |
|
 |
Vin |
Posted: Mon Jun 24, 2002 11:40 am Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
I did the following which does not work.
runmqtrm -m QueueManagerName -q InitiationQueue & |
|
Back to top |
|
 |
krishrammohan |
Posted: Mon Jun 24, 2002 12:45 pm Post subject: |
|
|
Newbie
Joined: 11 Aug 2001 Posts: 9
|
If you are using MQSeries on Windows NT/2000, On the console panel of MQSeries Services you can create a new custom service with start command as "runmqtrm -m QueueManagerName -q Initiationqueue" and Execution as "Command"
This service will run the comand in background.
Hope this helps. |
|
Back to top |
|
 |
Vin |
Posted: Mon Jun 24, 2002 12:59 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Thanks. I'm running the trigger monitor on Solaris and wanted to know whether I can run it in the background without having to open an other window?? Thanks for your time. |
|
Back to top |
|
 |
bduncan |
Posted: Mon Jun 24, 2002 1:23 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Vin,
Yes, you can do it. However, I can't remember the exact command to do it. I've done it on both Solaris and AIX. As you've noticed, if you just do 'runmqtrm &' you see all the output from the trigger monitor in the terminal window, and if you try to exit the terminal window, it'll say "you have processes running", and if you insist on exiting, it will stop the trigger monitor.
Maybe someone can jog my memory. I know that there is a separate program you use to do it. Ahhh yes, no I remember. You need to use 'nohup'. The man page should explain what you need to know. Basically you supply your command, and run the whole thing in the background with a '&', and you shouldn't see any output from the trigger monitor (it can be directed to a file using nohup) and you should be able to exit your terminal window... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
Vin |
Posted: Mon Jun 24, 2002 2:36 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Brandon,
Thanks. That really helped. |
|
Back to top |
|
 |
|