Ping radar is a programm that regulary attempt to ping a list of
hosts and display the reponse time. It has been written just for
Actually its a developpment version with a lot of hardcoded stuff
and no argument parsing.
The programm read a list of hostname, ip addresses, or CIDR from
the file $HOME/.hosts_scanner and run childs processes to update
a temporary result file.
CIDR ip ranges are implemented using nmap in a child process. When
an IP answer a ping child process is started.
There is an implementation of mutex lock/release using a
temporary directory for result file and stdout writes.
When quitting using ctrl+c CIDR child processes take times to stop
and generaly the child killing process is slow.