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" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>