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 » WebSphere Message Broker (ACE) Support » check if ConfigMgr / Broker are started

Post new topic  Reply to topic
 check if ConfigMgr / Broker are started « View previous topic :: View next topic » 
Author Message
lehare
PostPosted: Thu Mar 16, 2006 11:24 pm    Post subject: check if ConfigMgr / Broker are started Reply with quote

Apprentice

Joined: 25 Jul 2005
Posts: 48

Hi guys,

is there a way to check if either the configmgr or broker are started ... in the comand line?
Back to top
View user's profile Send private message
Mensch
PostPosted: Thu Mar 16, 2006 11:29 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

type mqsilist
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
lehare
PostPosted: Thu Mar 16, 2006 11:39 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2005
Posts: 48

mqsilist only LIST the objects but does not indicate if they are started or stop ... and the only way to check is to go into services.msc to check - i'm looking for a short cut for this
Back to top
View user's profile Send private message
fschofer
PostPosted: Fri Mar 17, 2006 12:30 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,

you could for example start the command "net start" in a dos box.

I think there a lot of other ways to check if a service is running.

Check some websites like
http://www.sysinternals.com/

or google for "windows resource kit"
so far i remember you can use the kit to manipulate services from a remote windows

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
elvis_gn
PostPosted: Fri Mar 17, 2006 12:40 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi lehare,

If you are on the AIX system you could try a ps -ef|grep <Component Name>

Regards.
Back to top
View user's profile Send private message Send e-mail
mqmatt
PostPosted: Fri Mar 17, 2006 2:52 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

mqsilist -e will cause the execution group to be queried directly, and so can be used to see if the process is running.

Alternatively, the v6 CMP can be used to tell you whether the CM or broker is running; there's an example that shows how to detect a running CM here: http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ae33030_.htm
and a similar one for detecing running message flows here:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ae33040_.htm
There's also a pre-built CMP sample 'DomainInfo' program that does the same.

-Matt
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Mar 17, 2006 3:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

In case anyone is interested, here's the output of DomainInfo:
Quote:

Usage: DomainInfo [-h] [-i] [<filename>]
where -h : Display help and exit
-i : Interactive mode (listen for changes)
<filename> : Location of .configmgr connection file
[wschutz@wschutz ConfigManagerProxy]$ java cmp/DomainInfo ~/MyPrograms/wmbt6.0/Servers/conn1.configmgr
Skipped Compiling {java/util/Hashtable}{rehash}
Skipped Compiling {java/util/Hashtable}{rehash}
(3/17/06 6:05:04 AM) Connecting. Please wait...
(3/17/06 6:05:05 AM) Successfully connected to the Configuration Manager's Queue Manager.
(3/17/06 6:05:06 AM) Successfully connected to the Configuration Manager.
(3/17/06 6:05:08 AM) Broker 'WBRK_BROKER' is running.
(3/17/06 6:05:10 AM) Execution group 'eg1' on 'WBRK_BROKER' is running.
(3/17/06 6:05:11 AM) Message flow 'simple' on 'eg1' on 'WBRK_BROKER' is running.
(3/17/06 6:05:11 AM) Disconnected.

_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » check if ConfigMgr / Broker are started
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.