ping command

Send an echo request to a foreign node (remote host) to determine whether the node is accessible:

Note: The synonym for the oping command in the z/OS® UNIX shell is ping. The oping command syntax is the same as that for the ping command.
Read syntax diagramSkip visual syntax diagram
>>-ping--+-+------------+-- host_name-+------------------------><
         | '-| Option |-'             |   
         +- -h------------------------+   
         '- -?------------------------'   

Option

   .---------------------.   
   V                     |   
|----+-----------------+-+--------------------------------------|
     +- -A-+-ipv4-+----+     
     |     '-ipv6-'    |     
     |     .-1----.    |     
     +- -c-+------+----+     
     |     '-echo-'    |     
     +- -i interface---+     
     |     .-256---.   |     
     +- -l-+-------+---+     
     |     '-bytes-'   |     
     +- -n-------------+     
     +- -P-+-yes----+--+     
     |     '-ignore-'  |     
     +- -p tcpname-----+     
     +- -s srcip-------+     
     |     .-10------. |     
     +- -t-+---------+-+     
     |     '-seconds-' |     
     '- -v-------------'