tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Haynes" <ch...@harvington.org.uk>
Subject Re: tomcat status ??
Date Tue, 27 Feb 2001 19:17:47 GMT
tomcat status ??Srini,

Running under linux I've found that the following is useful.
It returns a string if tomcat is actively listening on its ajp12 port (port 8006 in my config),
 and nothing if it isn't.

This seems quite a good test of "running"

netstat -t -l -n | grep 0:8006

Chris Haynes
Evesham
England
  ----- Original Message ----- 
  From: Srinivas Kurella 
  To: 'tomcat-user@jakarta.apache.org' 
  Sent: Tuesday, February 27, 2001 7:08 PM
  Subject: tomcat status ??




  Is there a tool or utility to check the status of tomcat ? 
  something like "tomcat.sh status" to find out if tomcat is up and running. I am trying to
write an installation script for my app and i need to check the status before that.

  Thanks, 

  Srini 


Mime
View raw message