ethpingall - Man Page

Name

ethpingall

Pings a group of hosts or switches to verify that they are powered on and accessible through TCP/IP ping.

Syntax

ethpingall [-C] [-p] [-f  hostfile] [-F  switchesfile] [-h 'hosts']
[-H 'switches']

Options

--help

Produces full help text.

-C

Performs a ping against switches. Default is hosts.

-p

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.

Example

ethpingall

ethpingall -h 'arwen elrond'

HOSTS='arwen elrond' ethpingall

ethpingall -C

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

Environment Variables

HOSTS

List of hosts, used if -h option not supplied.

SWITCHES

List of switches, used if -H option not supplied.

HOSTS_FILE

File containing list of hosts, used in absence of -f and -h.

SWITCHES_FILE

File containing list of switches, used in absence of -F and -H.

FF_MAX_PARALLEL

When -p option is used, maximum concurrent operations are performed.

Info

Intel Corporation Copyright(C) 2020-2021 EFSFFCLIRG (Man Page)