>>>>> "Rick" == Rick Phillips <[EMAIL PROTECTED]> writes:
Rick> I was wanting to log the uptime somehow (and consequently the
Rick> down time) and thought the easiest method would be to run
Rick> something like "ping -i 600 XXX.XXX.XXX.XXX >> Logfile.txt"
Rick> running backgrounded on a server I have at home. This works
Rick> fine but I would love to be able to date & time stamp each line.
Rick> The -T option does not seem to do what I want to do and as my
Rick> coding is limited (read almost none existent), I rely on command
Rick> line routines.
why not rather ping with just a few packets, and datestamp it?
Something like,
while :
do
date
ping -c 3 a,b.c.d
sleep 60
done >> logfile
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html