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  |