2 examples for fping

{{ score }}
  # fping -a = show Alive systems -g Generate target list, you can also use netmask:
fping -a -g
{{ score }}
  # fping -i 1 -r 1 -q -a -g
fast fping command that shows only alive hosts:
-i --interval   Time in msecs between sending pings 
-r --retry	Retry limit, number of attempts pinging a target
-q --quiet	Don't show error messages
-a --alive 	Show alive hosts
-g --generate   Generate target list, "" or ""
# sudo fping -i -r 1 -q -a -f targets.txt
Same as above except
-f  --file	Targets to ping are read from a file. You need to be root or do fping < targets.txt

To show the hostnames via reverse dns lookup add
-n  --names	Reverse DNS lookup on IP
-d  --rdns	Forces dns lookup even if hostname was used as target