*BSD News Article 75146


Return to BSD News archive

From: Jeff Dickson <jdickson>
Newsgroups: comp.sys.sun.admin,alt.sys.sun,comp.unix.bsd.misc,comp.unix.programmer,comp.unix.bsd.bsdi.misc,comp.unix.admin
Subject: Re: ping script
Date: 31 Jul 1996 23:31:50 GMT
Organization: Jet Propulsion Laboratory - Pasadena CA
Lines: 32
Message-ID: <4toqd6$bsj@netline-fddi.jpl.nasa.gov>
References: <Pine.SOL.3.93.960702171209.4062B-100000@gold.acns.fsu.edu> <4sbfat$ll@keyhole.west.spy.net> <4t2put$n1i@news.fsu.edu> <Dv38zE.8v3@tip.nl> <4tilco$bm@anorak.coverform.lan> <4tkjiq$32g@typo.org> <4tmpnr$gg4@redstone.interpath.net>
NNTP-Posting-Host: rafael.jpl.nasa.gov
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3 sun4m)
X-URL: news:4tmpnr$gg4@redstone.interpath.net
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!newsfeed.internetmci.com!news.internetMCI.com!pull-feed.internetmci.com!news.provo.novell.com!nntp.et.byu.edu!nntp1.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!usenet
Xref: euryale.cc.adfa.oz.au comp.sys.sun.admin:71565 alt.sys.sun:10465 comp.unix.bsd.misc:1282 comp.unix.programmer:40399 comp.unix.bsd.bsdi.misc:4434 comp.unix.admin:45553

kpneal@interpath.com (Kevin P. Neal) wrote:
>In article <4tkjiq$32g@typo.org>, BOFH <web@typo.org> wrote:
>>Brian Somers <brian@awfulhak.demon.co.uk> wrote:
>>: Marc Mulhuijzen (marc.mulhuijzen@tip.nl) wrote:
>>: : Maybe it is already said but ping does NOT garantee that a system is
>>: : up and running ! I have written a tool which reads/writes messages
>>: : through sockets, so that one knows that processes are running on a
>>: : system, while ping only gets replys from the controller. (A system can
>>: : still be pinged and hang at the same time, that's why I wrote my stuff
>>: : with help of others as well !)
>>
>>: Well, replies from the low-level networking code....  What you really
>>: need is to include a "hello are you there" ability in your server.
>>
>>: Most - if not all - internet protocols have this (connect, read a prompt,
>>: send quit, read OK).  Anyone know of any tcp chat-like programs ?
>>
>>For this type of action, I usually use port 13. (date) If the system is
>>wedged but still pingable, you're not gonna get a date back. If its just
>>bogged down, you'll get a date but it will take a few seconds.
>
>But this could also mean that inetd died. Telnetting to sendmail, or
>rup'ing the machine sometimes gives info.
>

If inetd died you can forget about telneting to any of the services. 



Jeff S. Dickson
jdickson@vtol.jpl.nasa.gov