#!/bin/sh # (c)2003 by Jan Krupa (krupaj@mobilnews.cz) # http://www.mobilnews.cz/honza/ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin export PATH FPING_PATH=/usr/sbin/fping ping_host_all=""; for LINE in `/bin/cat $1`; do ping_host=`/bin/echo -n $LINE | /bin/awk -F\; '{ printf "%s", $2 }'`; ping_host_all="${ping_host_all} ${ping_host}"; done $FPING_PATH -e $ping_host_all | /bin/awk -F\ '{ printf "%s;", $1; if ($3=="alive") printf "1;%s;\n", substr($4, 2, (length($4)-1)); else printf "0;0;\n"; }'; WebSVN - netmap - Blame - Rev 96 - /gen_onestat_fping
  jablonka.czprosek.czf

netmap

Subversion Repositories:
[/] [gen_onestat_fping] - Blame information for rev 96

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1