On Thu, 5 Dec 2002, RXZ JLo wrote:

> Date: Thu, 5 Dec 2002 22:12:20 -0800 (PST)
> From: RXZ JLo <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to