tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dockery <>
Subject Re: How to get java process id of a user running tomcat
Date Thu, 03 Dec 2009 09:45:12 GMT
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" <>
To: Tomcat Users List <>
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 []
> 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

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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message