*BSD News Article 92919


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news-peer.sprintlink.net!howland.erols.net!vixen.cso.uiuc.edu!news.stealth.net!news.ibm.net.il!news.ibm.net!news.biu.ac.il!news.tau.ac.il!usenet
From: roya@post.tau.ac.il (Avidor Roye)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: 1) redirect stdio beck to my c program, 2)how can I ping with alive ?
Date: Sun, 06 Apr 1997 19:44:05 GMT
Organization: Tel-Aviv University Computation Center
Lines: 24
Message-ID: <5i7um2$hcs@beet.tau.ac.il>
NNTP-Posting-Host: medicine.tau.ac.il
X-Newsreader: Forte Free Agent 1.0.82
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6594

Hi all :)

I'm working at the medicine faculty in tel-aviv Israel,
and for the last hulf year some computers got "LOST" :)
now one have answer to that phenomenon.

I want to write a program that could "ping" some computer over the
night and if one of the pings stop, i could send email or even use
the modem to allert security.

So i started with that and have a little problems

	1) I need that the message from a ping will be alive or not and not

                     continueing with all the messages follow,
	2) how can i ping some one from "c" program and redirect the output

                back to the program so i could test the results?
	

that's for now.

Thanks for any help