*BSD News Article 75029


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!lll-winken.llnl.gov!uwm.edu!news-res.gsl.net!news.gsl.net!news.mathworks.com!nntp.primenet.com!uucp.primenet.com!news.typo.org!web
From: BOFH <web@typo.org>
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: 30 Jul 1996 09:10:50 GMT
Organization: typo.org
Lines: 20
Message-ID: <4tkjiq$32g@typo.org>
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>
NNTP-Posting-Host: localhost.primenet.com
Xref: euryale.cc.adfa.oz.au comp.sys.sun.admin:71453 alt.sys.sun:10457 comp.unix.bsd.misc:1274 comp.unix.programmer:40299 comp.unix.bsd.bsdi.misc:4412 comp.unix.admin:45475

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.