System Administration Guide: IP Services

How to Determine if a Host Is Running

    On the command line, type the following command.


    % ping hostname
    

    If host hostname is up, this message is displayed:


    hostname is alive

    This message indicates that hostname responded to the ICMP request. However, if hostname is down or cannot receive the ICMP packets, you receive the following response from ping:


    no answer from hostname