Its hard to see but arent the extra processes your greps? -----Original Message----- From: Jon [mailto:[EMAIL PROTECTED] Sent: 11 September 2008 15:11 To: Tomcat Subject: [NEWBIE] Apache Tomcat 5.5.17
I'm using grep to monitor apache process (tomcat apache 5.5.17). It seems to create a new PID every time for each time I query the apache process. *OS: Solaris 5.10* NAME=jcami SSH_CONNECTION=10.159.20.18 4805 10.158.48.20 22 _=/usr/ucb/ps jcami *28775* 0.1 0.1 1280 904 pts/12 S 15:39:46 0:00 tail -f /projects/autotopup/logs/autopay.log SHELL=/bin/bash TERM=vt100 SSH_CLIENT= 10.159.20.18 1167 22 OLDPWD=/projects/tomcat/apache-tomcat-5.5.17-externalwebservices SSH_TTY=/dev/pts/12 USER=jcami SSH_AUTH_SOCK=/tmp/ssh-utE26750/agent.26750 PATH=/usr/bin:/usr/local/bin MAIL=/var/mail//jcami PWD=/export/home/jcami LANG=C TZ=Europe/Malta HOME=/export/home/jcami/ SHLVL=2 LOGNAME=jcami SSH_CONNECTION=10.159.20.18 1167 10.158.48.20 22 _=/usr/bin/tail bash-3.00$ ps -eauxgww | grep "5.5.17" | grep -v "grep" jcami *28830* 0.1 0.2 3432 3048 pts/7 O 15:45:56 0:00 /usr/ucb/ps -eauxgww SHELL=/bin/bash TERM=vt100 SSH_CLIENT=10.159.20.18 4805 22 OLDPWD=/ SSH_TTY=/dev/pts/7 USER=jcami SSH_AUTH_SOCK=/tmp/ssh-Mrh28782/agent.28782 PATH=/usr/bin:/usr/local/bin MAIL=/var/mail//jcami PWD=/projects/tomcat/apache-tomcat-5.5.17-externalwebservices LANG=C TZ=Europe/Malta HOME=/export/home/jcami/ SHLVL=2 LOGNAME=jcami SSH_CONNECTION=10.159.20.18 4805 10.158.48.20 22 _=/usr/ucb/ps jcami *28775 * 0.1 0.1 1280 904 pts/12 S 15:39:46 0:00 tail -f /projects/autotopup/logs/autopay.log SHELL=/bin/bash TERM=vt100 SSH_CLIENT= 10.159.20.18 1167 22 OLDPWD=/projects/tomcat/apache-tomcat-5.5.17-externalwebservices SSH_TTY=/dev/pts/12 USER=jcami SSH_AUTH_SOCK=/tmp/ssh-utE26750/agent.26750 PATH=/usr/bin:/usr/local/bin MAIL=/var/mail//jcami PWD=/export/home/jcami LANG=C TZ=Europe/Malta HOME=/export/home/jcami/ SHLVL=2 LOGNAME=jcami SSH_CONNECTION=10.159.20.18 1167 10.158.48.20 22 _=/usr/bin/tail bash-3.00$ ps -eauxgww | grep "5.5.17" | grep -v "grep" jcami *28833* 0.1 0.2 3432 3048 pts/7 O 15:45:57 0:00 /usr/ucb/ps -eauxgww SHELL=/bin/bash TERM=vt100 SSH_CLIENT=10.159.20.18 4805 22 OLDPWD=/ SSH_TTY=/dev/pts/7 USER=jcami SSH_AUTH_SOCK=/tmp/ssh-Mrh28782/agent.28782 PATH=/usr/bin:/usr/local/bin MAIL=/var/mail//jcami PWD=/projects/tomcat/apache-tomcat-5.5.17-externalwebservices LANG=C TZ=Europe/Malta HOME=/export/home/jcami/ SHLVL=2 LOGNAME=jcami SSH_CONNECTION=10.159.20.18 4805 10.158.48.20 22 _=/usr/ucb/ps jcami *28775* 0.1 0.1 1280 904 pts/12 S 15:39:46 0:00 tail -f /projects/autotopup/logs/autopay.log SHELL=/bin/bash TERM=vt100 SSH_CLIENT= 10.159.20.18 1167 22 OLDPWD=/projects/tomcat/apache-tomcat-5.5.17-externalwebservices SSH_TTY=/dev/pts/12 USER=jcami SSH_AUTH_SOCK=/tmp/ssh-utE26750/agent.26750 PATH=/usr/bin:/usr/local/bin MAIL=/var/mail//jcami PWD=/export/home/jcami LANG=C TZ=Europe/Malta HOME=/export/home/jcami/ SHLVL=2 LOGNAME=jcami SSH_CONNECTION=10.159.20.18 1167 10.158.48.20 22 _=/usr/bin/tail Any idea why, please? Rgds, -- Jon Camilleri Mobile (MT): 00356 7982 7113 E-mail: [EMAIL PROTECTED] Please consider your environmental responsibility before printing this e-mail. I usually reply to e-mails within 2 business days. If it's urgent, give me a call. *********************************************************************** This message may contain confidential and privileged information. If you are not the intended recipient you should not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents. To do so is strictly prohibited and may be unlawful. Please inform the sender that this message has gone astray before deleting it. Thank you. 2008 marks the 60th anniversary of the NHS. It's an opportunity to pay tribute to the NHS staff and volunteers who help shape the service, and celebrate their achievements. If you work for the NHS and would like an NHSmail email account, go to: www.connectingforhealth.nhs.uk/nhsmail *********************************************************************** --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]