tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Fincher" <...@tbird.com>
Subject Re: Other question
Date Thu, 13 Jun 2002 14:57:29 GMT
Under Solaris you have to use /usr/ucb/ps -ax |grep 'java*' to use the
Berkeley version of ps.

This gives a nice listing of the command line flags too.

Rick
----- Original Message -----


> hi Laura,
>
> when tomcat runs an instance of java is always running..try
>
> ps -ax | grep 'java*'
>
> it should give a bunch of java instances depending on the no of
> threads....here's what my redhat 6.2 said
>
> 21619 pts/3    S      0:14
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21664 pts/3    S      0:08
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21665 pts/3    S      0:21
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21666 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21667 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21668 pts/3    S      0:34
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21669 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21670 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21671 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21672 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21673 pts/3    S      0:01
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21674 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21675 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21676 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21677 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21678 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21679 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
> 21680 pts/3    S      0:00
> /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas
>  9085 pts/8    S      0:00 grep java
>
> ravi
>
> ----- Original Message -----
> From: "Laura" <lauradiara@libero.it>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, June 13, 2002 2:56 PM
> Subject: Other question
>
>
> Hi all,
>
> thanks for your reply (Security - Attack): you are telling me that I
> shouldn't worry because Apache is secure. (I hope it)
>
> I have one other question: If Tomcat shouts down for some cause, how can I
> know it?
> For example, Apache has a PID and so you can control if the apache
process,
> with that PID,  is alive.
>
> But Tomcat doesn't write any PID: how can I know if Tomcat is alive or
not?
> Is there any script for that?
>
> Thanks for your help
>
>
> Laura
>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>
>


--
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