Send pings to many computers in the local network in parallel, on the command line with the free Swiss File Knife for Windows, Mac OS X and Linux.
Display either a list of replying devices or a graphical permanent info.
Requires administrator rights, as the API calls used
for ping don't work in a normal user context.
Source code is available for self compile.
sfk ping ip [ip2] [to ip3] [options]
check if machine(s) on given ip(s) reply to pings.
REQUIRES ADMIN RIGHTS. right click on cmd.exe
and select "run as admin" to enable sfk ping.
default with only a few target adresses is
to show a graphical display of replies.
with many addresses a list of replies is shown.
experimental command. may not always list all
available machines, especially on embedded linux.
to n ping range up to n within the same
class c network (up to 0 addresses)
net n [n2] ping 192.168.n.1 to 192.168.n.254 if
computer runs in 192.168 network
net r1.r2 n ping r1.r2.n.1 to r1.r2.n.254
mynet ping the network of this computer
-every ns with graphical ping only:
ping every n seconds (default is 1s).
use 10s when pinging internet servers
over longer time, to reduce server load.
-maxwait n wait up to n msec for a reply
-maxwait ns wait up to n seconds
-list send just one ping and show result
as a flat list without graph
-stop stop on first reply from any ip,
-range s e with "net": ping from s to e
instead of 1 to 254
-pure print just replying ip's
-quiet print less infos
-quiet=2 show no OK etc. with -stop
web referencehttp://stahlworks.com/sfk-pingexamplessfk ping 192.168.1.200 -stop -maxwait 600s+sleep 1000 +then run "install.sh" -yes
waits for a ping reply on given ip,
then runs install.sh after another delay.
sfk ping 192.168.1.200 192.168.1.210
ping these two ip's in parallel
sfk ping 130 140 2.150
ping IP .130 and .140 within current subnet
and .150 in the .2 subnet
sfk ping net 1 2 10
ping whole subnets 1, 2 and 10, like
192.168.1.1 to 192.168.1.254
192.168.2.1 to 192.168.2.254
192.168.10.1 to 192.168.10.254
if your computer is within 192.168.x.x
sfk ping net 192.178 3 5
ping 126.96.36.199 to 254 and .5.1 to 254
sfk ping mynet
if my computer has an IP 192.168.178.20
then this pings 192.168.178.1 to .254