Re: Determining if Tomcat is running
ps -A in linux/unix look for java instances or in windows ctrl alt del look for java instances - Original Message - From: Fredrik Liden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 3:15 PM Subject: Determining if Tomcat is running hey all, Is it possible to determine if Tomcat is running? I'm using Tomcat as a standalone server. Occasionally Tomcat goes down and the page will not display. It's just gets stuck. Is there some way I can redirect a user if the servletEngine goes down? Any suggestions would be greatly appreciated
Re: Determining if Tomcat is running
Probably not foolproof, but off the top of my head: ps -aux --cols 500 |grep $TOMCAT_HOME Fredrik Liden fredrik@tranTo: '[EMAIL PROTECTED]' slate.com [EMAIL PROTECTED] cc: 02-07-01 Subject: Determining if Tomcat is running 04:15 PM Please respond to tomcat-user hey all, Is it possible to determine if Tomcat is running? I'm using Tomcat as a standalone server. Occasionally Tomcat goes down and the page will not display. It's just gets stuck. Is there some way I can redirect a user if the servletEngine goes down? Any suggestions would be greatly appreciated -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Re: Determining if Tomcat is running
At 03:36 PM 7/2/2001, you wrote: Probably not foolproof, but off the top of my head: ps -aux --cols 500 |grep $TOMCAT_HOME ps aux --- BSD options. You'll want ef for SysV variants like Linux. I KNOW, Linux isn't a sys V kernel, but the ports, like ps seem to be.
RE: Determining if Tomcat is running
I'm not really familiar with Linux or the ps command. Could you give a short description of what this does: ps -aux --cols 500 |grep $TOMCAT_HOME Thanks! -Original Message- From: Tim O'Neil [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 4:15 PM To: [EMAIL PROTECTED] Subject: Re: Determining if Tomcat is running At 03:36 PM 7/2/2001, you wrote: Probably not foolproof, but off the top of my head: ps -aux --cols 500 |grep $TOMCAT_HOME ps aux --- BSD options. You'll want ef for SysV variants like Linux. I KNOW, Linux isn't a sys V kernel, but the ports, like ps seem to be.
RE: Determining if Tomcat is running
At 04:27 PM 7/2/2001, you wrote: I'm not really familiar with Linux or the ps command. Could you give a short description of what this does: ps -aux --cols 500 |grep $TOMCAT_HOME execute the process status command using arguments that tell it to return a list of all the processes regardless of owner, and widen margins of the logical output device, masking out any delimited lines that don't have the contents of the variable $TOMCAT_HOME as a substring.