Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So far I've determined that I can use the ping command to send a ping to said server every 15 minutes or so in a command prompt window in Linux like so:

ping -i 900 <server-address>

The 900 is specified in seconds and 900 seconds is 15 minutes.

I believe the server to be overloaded already and that is why it is not responding.

Is there any way to make an audible bell sound when the server is actually pinged successfully?

share|improve this question
up vote 3 down vote accepted

If you use the below script it will work.

while :
  ping -c1 <server-ip-address>
  if [ $? ] ; then 
    echo -e "\a"
  sleep 900
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.