--- "Turner, John" <[EMAIL PROTECTED]> wrote: > > You can see more info on your Tomcat processes by increasing the column > display of ps. For example, on a RedHat box, use "ps -ef --cols=300 |grep > java" and you can see the full command line used to start Tomcat.
This is true John (I use ps -auxfwwww!), *except* when a process is swapped out - I lost a lot of hair over that one... In my > environment (multiple, distinct Tomcats) there is a different server.xml for > each instance. Using the "--cols" option makes it trivial for me to see > exactly which instance is which, and obtain the PID of the instance in > question for stopping purposes. > > In addition, Tim Funk posted back in June a roll-your-own solution for > getting the PID of Tomcat anytime you want, from whatever tool you desire, > which I will repost here. It's not absolutely thorough with every exact > line of code you need, but it should be sufficient for a really good start. > It's a nice little tip/trick: Many thanks for posting this - having the PID is definitely the way to go... cam __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
