tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Carrillo <tom...@daydream.stanford.edu>
Subject RE: Script for checking remote server
Date Tue, 25 Feb 2003 09:45:54 GMT
Sorry, I meant SCO (the owners of Linux internals - hehe [OT: joke]) but
Sun does it the same way.

Oscar

On Tue, 25 Feb 2003, Oscar Carrillo wrote:

> 
> Oh yeah that's right. If it's not in the process table it won't show up
> with this script. I don't know if LWPs show up anywhere as I've never used
> Sun's operating systems.
> 
> Oscar
> 
> On Tue, 25 Feb 2003, Mike Jackson wrote:
> 
> > Hmm, I'd only get one, but then again Unixware does threads as LWPs rather
> > than processes.
> > 
> > --mikej
> > -=-----
> > mike jackson
> > mjackson@cdi-hq.com
> > 
> > > -----Original Message-----
> > > From: Oscar Carrillo [mailto:tomcat@daydream.stanford.edu]
> > > Sent: Tuesday, February 25, 2003 1:29 AM
> > > To: Tomcat Users List
> > > Subject: RE: Script for checking remote server
> > >
> > >
> > > 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
> > >
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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


Mime
View raw message