Pings a group of hosts or switches to verify that they are powered on and accessible through TCP/IP ping.
ethpingall [-C] [-p] [-f hostfile] [-F switchesfile] [-h 'hosts']
Produces full help text.
Performs a ping against switches. Default is hosts.
Pings all hosts /switches in parallel.
- -f hostfile
Specifies the file with hosts in cluster.
Default is /etc/eth-tools/hosts.
- -F switchesfile
Specifies the file with switches in cluster.
Default is /etc/eth-tools/switches.
- -h hosts
Specifies the list of hosts to ping.
- -H switches
Specifies the list of switches to ping.
ethpingall -h 'arwen elrond'
HOSTS='arwen elrond' ethpingall
NOTE: This command pings all hosts /switches found in the specified host /switches file. The use of -C option merely selects the default file and/or environment variable to use. For this command, it is valid to use a file that lists both hosts and switches.
ethpingall -C -H 'switch1 switch2'
SWITCHES='switch1 switch2' ethpingall -C
List of hosts, used if -h option not supplied.
List of switches, used if -H option not supplied.
File containing list of hosts, used in absence of -f and -h.
File containing list of switches, used in absence of -F and -H.
When -p option is used, maximum concurrent operations are performed.