| Author | 
		  Message
		 | 
		
		  | ashly | 
		  
		    
			  
				 Posted: Tue Oct 10, 2006 2:28 am Post subject: runmqtrm spawning 4 processes in Linux | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue Oct 10, 2006 2:34 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ashly | 
		  
		    
			  
				 Posted: Tue Oct 10, 2006 2:38 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srinivasraom | 
		  
		    
			  
				 Posted: Tue Oct 10, 2006 3:09 am Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 18 May 2006 Posts: 31
  
  | 
		  
		    
			  
				| Is there any way in Linux to see only process instead of threads??? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | malammik | 
		  
		    
			  
				 Posted: Wed Oct 11, 2006 2:05 pm Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ashly | 
		  
		    
			  
				 Posted: Wed Oct 11, 2006 6:39 pm Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |