That's a good tip! Thanks!

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 10:45 AM
To: Tomcat Users List
Subject: RE: Other question


Howdy,
A relatively unix-flavor-independent way to do it is to give your process an
identifier via the first argument, i.e. the first thing in CATALINA_OPTS,
for example -Da=myapp.

You would then do ps -ef | grep java | grep myapp > tomcat.pid.

Yoav Shapira
Millennium ChemInformatics


Reply via email to