*BSD News Article 75013


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!news-stk-200.sprintlink.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
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
Followup-To: comp.sys.sun.admin,alt.sys.sun,comp.unix.bsd.misc,comp.unix.programmer,comp.unix.bsd.bsdi.misc,comp.unix.admin
Date: 29 Jul 1996 16:29:28 +0100
Organization: Coverform Ltd.
Lines: 17
Message-ID: <4tilco$bm@anorak.coverform.lan>
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>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.sys.sun.admin:71462 alt.sys.sun:10458 comp.unix.bsd.misc:1276 comp.unix.programmer:40320 comp.unix.bsd.bsdi.misc:4420 comp.unix.admin:45481

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 ?

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....