tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: how many linux processes should tomcat create???
Date Sat, 07 Dec 2002 02:34:46 GMT


On Thu, 5 Dec 2002, RXZ JLo wrote:

> Date: Thu, 5 Dec 2002 22:12:20 -0800 (PST)
> From: RXZ JLo <rufoo2001@yahoo.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Subject: Re: how many linux processes should tomcat create???
>
> >
> > Those are not processes, those are threads.
> >
>
> $ ps awx shows the output below. As you say the
> following may be threads,

At least on Linux, where the default "ps" display lies to you by implying
that these are processes.

> but how do I get the parent
> process of all these - ie., how do I restrict the
> output to show only the processes and not the threads
> within. I need this to kill the tomcat which keeps
> running even after shutdown(whose cause I dont know)
>
>
>  9046 ?        S      0:04
> /usr/java/jdk1.3.1_06/bin/i386/native_threads/java -D
> java.endorsed.dirs=/home/dev/software/jakarta-tomcat
>  9073 ?        S      0:00
> /usr/java/jdk1.3.1_06/bin/i386/native_threads/java -D
> java.endorsed.dirs=/home/dev/software/jakarta-tomcat
>

I like "ps -auf" or "ps -auxf" for that -- it shows the tree
relationships.

Craig



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message