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 » General IBM MQ Support » How to identify process running on Win pertaining to a QM?

Post new topic  Reply to topic
 How to identify process running on Win pertaining to a QM? « View previous topic :: View next topic » 
Author Message
sri_csee1983
PostPosted: Thu Mar 12, 2009 8:45 am    Post subject: How to identify process running on Win pertaining to a QM? Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Hi all,

ps -ef | grep -i <QMGR NAME> on unix machines will give u the processes that are running corresponding to a QM. Similarly is there any way we can identify which are all the process running corresponding to a QM on Windows?. tasklist cmd was not helpful. Reason is if 2 QMgrs are running, it shows the process twice without showing the QMgr name.
_________________
With Cheers,
Sri
Back to top
View user's profile Send private message Send e-mail Visit poster's website
exerk
PostPosted: Thu Mar 12, 2009 11:39 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Task Manager (TM)...correlate the PID's shown in TM with those shown in MQExplorer for qmgr/queues etc.

If there's an easier way I'd love to hear it from anyone...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Mar 12, 2009 4:29 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2498
Location: Melbourne, Australia

exerk wrote:
Task Manager (TM)...correlate the PID's shown in TM with those shown in MQExplorer for qmgr/queues etc.
If there's an easier way I'd love to hear it from anyone...


Try Process Explorer, a freeware download at http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

It shows all the MQ Queue Manager process as a neat tree view under amqmsrvn.exe, including listener, command server and channel initator. The view can be saved as a text file, but not via command line invokation so it seems.
_________________
Glenn
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Mar 13, 2009 1:04 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

gbaddeley wrote:
Try Process Explorer...


I forgot all about that one! It's so long since I have needed to use it...thank you for the reminder.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
sri_csee1983
PostPosted: Fri Mar 13, 2009 5:34 am    Post subject: Reply with quote

Centurion

Joined: 25 Mar 2008
Posts: 125
Location: Chennai,India

Hi gbaddeley,

Thanks for ur response. I downloaded the freeware and used it, but still I cant see any process on the qmgr name in it, as u told I can see a tree view in which I can see not only amqmsrvn.exe, but also a lots of amq process. But there is no child node for the process amqmsrvn.exe in the tree view.
_________________
With Cheers,
Sri
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gbaddeley
PostPosted: Sun Mar 15, 2009 2:44 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2498
Location: Melbourne, Australia

sri_csee1983 wrote:
Hi gbaddeley,

Thanks for ur response. I downloaded the freeware and used it, but still I cant see any process on the qmgr name in it, as u told I can see a tree view in which I can see not only amqmsrvn.exe, but also a lots of amq process. But there is no child node for the process amqmsrvn.exe in the tree view.


Right click on the column heading line, choose Select Columns..., check Command Line, click OK. Expand the size of the Command Line column by dragging on the divider bar in the column heading. The Queue Manager name is shown on the command line.

HTH
_________________
Glenn
Back to top
View user's profile Send private message
rgprasanna
PostPosted: Mon Mar 16, 2009 10:24 pm    Post subject: Reply with quote

Voyager

Joined: 02 May 2007
Posts: 91
Location: Chennai - India

Hi Glenn,

Thanks for sharing this valuable information..
_________________
Prasanna
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Mar 17, 2009 5:32 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2498
Location: Melbourne, Australia

rgprasanna wrote:
Hi Glenn,
Thanks for sharing this valuable information..


No problem. I didn't know it could display the Command Line until I experimented just now. It can display dozens of other columns too.
_________________
Glenn
Back to top
View user's profile Send private message
crossland
PostPosted: Mon Nov 28, 2011 6:07 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

Or use 'dspmq -c'
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Nov 28, 2011 7:04 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

With the Microsoft Process Explorer, just mouse-over a process, and a balloon appears - with the owning qmgr name at the far right.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » General IBM MQ Support » How to identify process running on Win pertaining to a QM?
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.