ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Running the trigger monitor in the background

Post new topic  Reply to topic
 Running the trigger monitor in the background « View previous topic :: View next topic » 
Author Message
Vin
PostPosted: Mon Jun 24, 2002 11:35 am    Post subject: Running the trigger monitor in the background Reply with quote

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
View user's profile Send private message
Vin
PostPosted: Mon Jun 24, 2002 11:40 am    Post subject: Reply with quote

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
View user's profile Send private message
krishrammohan
PostPosted: Mon Jun 24, 2002 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vin
PostPosted: Mon Jun 24, 2002 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
bduncan
PostPosted: Mon Jun 24, 2002 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Vin
PostPosted: Mon Jun 24, 2002 2:36 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

Brandon,
Thanks. That really helped.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Running the trigger monitor in the background
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.