i agree with Chuck
 and would add these commands for consideration on a windows box

netstat -ano will show the pid of any java job which is tied to a tcp port

likewise (on windows only):

 wmic process get /all /value

   is another win vista/win7/xp pro+ command
     which will show all the output from all pid's
       including the command line options

or more specifically something like this:

 wmic process where "commandline like '%java%'" get commandline, processid

hope this helps someone out there



________________________________
From: "Caldarale, Charles R" <chuck.caldar...@unisys.com>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Wed, December 2, 2009 9:32:18 AM
Subject: RE: How to get java process id of a user running tomcat

> From: Pierre Goupil [mailto:goupilpie...@gmail.com]
> Subject: Re: How to get java process id of a user running tomcat
> 
> " jps -mlv " will give you the PIDs of all running Java processes. Plus
> it's a part of the standard SUN JVM.

But not for the OP, who is running an unsupported version of Tomcat on an 
unsupported JVM that predates the jps tool.  As Pid suggested, the correct 
thing to do is to fix the webapp so it properly manages the threads it has 
started.  Attack the problem, not the symptom.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


      

Reply via email to