tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <>
Subject RE: tomcat pid
Date Tue, 08 Apr 2003 20:19:59 GMT
Actually, I think 4.1.24 has this built in. 

Set CATALINA_PID to the path to the file you want to contain the pid and
run to get it!


>>> 04/08/03 14:12 PM >>>


>Is there any command that I can use - apart from ps and grep'ing etc..
>to find out the tomcat process id ?

Personally I like grepping ;)  I add a java options like -Dname=tomcat
and then ps -ef | grep java | grep tomcat tends to work.  

However, I do recall someone posting a modified which writes
the process ID to a (configurable path) file on startup.  Search the
archives for this.  Or modify to do it yourself, it's pretty
(cat $$ > /tmp/tomcatpid.txt or something like that).

Yoav Shapira
Millennium ChemInformatics

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message