Using ping's return in a shell script
I am writing a shell script for debian that monitors network servers. This script must ping the hosts periodically. It should use ping's output for the monitoring. How can I obtain the time response average and the number of sucessful pings, so that i can use these numbers in the script?