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 IndexIBM MQ Performance Monitoringrunmqtrm spawning 4 processes in Linux

Post new topicReply to topic
runmqtrm spawning 4 processes in Linux View previous topic :: View next topic
Author Message
ashly
PostPosted: Tue Oct 10, 2006 2:28 am Post subject: runmqtrm spawning 4 processes in Linux Reply with quote

Newbie

Joined: 10 Oct 2006
Posts: 8

Hi all,

we have websphere MQ 5.3 / linux 2.4.21 kernel. we we start the trigger monitor by issuing the following command

runmqtrm -m HKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE

we are seeing 4 process[runmqtrm's] lauched. this is the output of the ps.

23112 23068 runmqtrm -m HKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE
23113 23112 runmqtrm -m HKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE
23115 23113 runmqtrm -m HKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE
23116 23113 runmqtrm -mHKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE


23112,23113,23115,23116 being the pids ...

any idea why is this ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 10, 2006 2:34 am Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Hey.

A lot of Unixes report THREADS instead of PROCESSES using ps.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ashly
PostPosted: Tue Oct 10, 2006 2:38 am Post subject: Reply with quote

Newbie

Joined: 10 Oct 2006
Posts: 8

I can see these as processes as they have pids and I am able to kill them using the pids. here is the pstree trace.

runmqtrm -m HKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE
└─runmqtrm -m HKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE
├─runmqtrm -m HKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE
└─runmqtrm -m HKWTI1S1 -q WTI.IMXSG.TTI.RQSTIN.INIT.QUEUE
Back to top
View user's profile Send private message
srinivasraom
PostPosted: Tue Oct 10, 2006 3:09 am Post subject: Reply with quote

Apprentice

Joined: 18 May 2006
Posts: 31

Is there any way in Linux to see only process instead of threads???
Back to top
View user's profile Send private message
malammik
PostPosted: Wed Oct 11, 2006 2:05 pm Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

if you do ps -eH | grep runmqtrm you will see these are threads and u will see which process id is the parent process. the pids u see are actually thread ids. man ( ps
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
ashly
PostPosted: Wed Oct 11, 2006 6:39 pm Post subject: Reply with quote

Newbie

Joined: 10 Oct 2006
Posts: 8

> ps -e --forest | grep runmqtrm
23112 ? 00:00:02 \_ runmqtrm
23113 ? 00:00:07 \_ runmqtrm
23115 ? 00:00:00 \_ runmqtrm
23116 ? 00:00:03 \_ runmqtrm

I havent seen in man that these are 'thread ids' . -H and --forest are process hierarchies which doesnt suggest that 23113,23115 and 23116 are threads. if at all these are threads, what should I use to see only processes [fed up of threads]. man isnt suggestive enough.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Performance Monitoringrunmqtrm spawning 4 processes in Linux
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.