RE: [SLE] multiple host pinger from database???
You can do it with shell script: while read line; do ping -c1 $line || echo $line >> newlist done < iplist This will read in IP from a list and spit out IP's not found to another list. If you need to generate lists you can use this: class_c="127.0.0";i=0 while [ i -le 255 ];. do echo "$class_c.$i" >> iplist i=$(($i+1)) done It's cheap, but it works... -Dan
-----Original Message----- From: Malcolm Jackson [SMTP:Malcolm.Jackson@nottingham.ac.uk] Sent: Tuesday, August 03, 1999 9:59 AM To: suse-linux-e@suse.com Subject: [SLE] multiple host pinger from database???
Hi,
I'm looking for a pinger that'll ping a list or range of IP address and
if it finds a IP address then remove it from the list.
I'm working in a static IP allocation nation and I need to weed out a few
of the redundant IP's.
I thought that maybe fping might be what I'm looking for, but its not in Herr Grimmers' ftp site.
Any help appreciated.
Cheers,
Mal.
-- To unsubscribe, e-mail: suse-linux-e-unsubscribe@suse.com For additional commands, e-mail: suse-linux-e-help@suse.com
participants (1)
-
DJShinto@wcom.net