if (`ping -c 1 my.test.com` =~ /1 recieved/) { print "Alive!\n"; } else { print "Dead\n"; } #### -- Joost downtime n. The period during which a system is error-free and immune from user input.