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

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

1 Answer 1

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.