Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 86666 invoked from network); 25 Feb 2003 21:02:57 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 Feb 2003 21:02:57 -0000 Received: (qmail 15165 invoked by uid 97); 25 Feb 2003 21:04:37 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 15158 invoked from network); 25 Feb 2003 21:04:37 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 25 Feb 2003 21:04:37 -0000 Received: (qmail 77333 invoked by uid 500); 25 Feb 2003 21:00:54 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 77286 invoked from network); 25 Feb 2003 21:00:53 -0000 Received: from daydream.stanford.edu (171.65.60.156) by daedalus.apache.org with SMTP; 25 Feb 2003 21:00:53 -0000 Received: from localhost (tomcat@localhost) by daydream.stanford.edu (8.11.6/8.11.6) with ESMTP id h1P9TOL14870 for ; Tue, 25 Feb 2003 01:29:24 -0800 Date: Tue, 25 Feb 2003 01:29:23 -0800 (PST) From: Oscar Carrillo To: Tomcat Users List Subject: RE: Script for checking remote server In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes it is. But there is a status function in it that outputs the pid's of the threads that tomcat is running. Here is my output of the script when I do: service tomcatd status ----- tomcatd ( pid 27820 27822 27823 27824 27825 27826 27827 27828 27829 27832 27833 27834 27835 27836 27837 27838 27839 27844 27845 27846 27847 27848 27849 27850 27851 27852 27853 27854 27855 27856 ) is running... ----- On Tue, 25 Feb 2003, Mike Jackson wrote: > That just looks like a standard init.d startup script. > > --mikej > -=----- > mike jackson > mjackson@cdi-hq.com > > > -----Original Message----- > > From: Oscar Carrillo [mailto:tomcat@daydream.stanford.edu] > > Sent: Tuesday, February 25, 2003 12:38 AM > > To: Tomcat Users List > > Subject: Re: Script for checking remote server > > > > > > I have a status function that tells you which threads are running for > > tomcat for linux/unix. > > > > Of course it doesn't give you definitive proof that the app is up, > > but it is useful info. Go here to get script: > > http://daydream.stanford.edu/tomcat/tomcatd > > > > Oscar > > > > On Tue, 25 Feb 2003, tomcat guy wrote: > > > > > What does everyone use to check the status of a remote server? > > > > > > I am needing a script (or what have you) that will validate > > that my Tomcat server is up and running on timed intervals. If > > the server is down, I need to post to a web page that sends > > either (or both) an email & a msg to my cell phone (think I have > > this part figured out). > > > > > > Anyone care to share some code? Or offer some ideas? > > > > > > It would be very much appreciated! > > > Thanks, > > > Chris > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org