ethpingall(8)

πŸ“¦ version 12.1.0.1, in centos-stream 9, fedora 43, fedora 44, opensuse-leap 16.0

πŸ’– ethpingall β€” the manual page, but make it bestie πŸ’–

okay so real talk, this is ethpingall(8) from the EFSFFCLIRG man page collection, and it's genuinely one of my faves because it does exactly one thing and does it beautifully. πŸ¦‹


✨ NAME ✨

ethpingall β€” pings a whole group of hosts or switches so you can vibe check that they're actually powered on and reachable over TCP/IP ping. like, are you alive bestie? hello?? πŸ‘‘πŸŒΈ


🌈 SYNTAX 🌈

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

that's the whole shape of it. flags go in, pings come out. periodt. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • --help β€” prints the full help text. the "what does this even do" button. use it, love it. πŸ’œ
  • -C β€” does the ping against switches instead of hosts. default is hosts, so if you don't say anything, it's host pinging hours. 🫢
  • -p β€” pings all the hosts/switches in parallel. no waiting around one at a time, we're multitasking girlies now. πŸ”₯
  • -f hostfile β€” tells it which file holds the hosts in the cluster. default is /etc/eth-tools/hosts. πŸ“
  • -F switchesfile β€” tells it which file holds the switches in the cluster. default is /etc/eth-tools/switches. 🧚
  • -h hosts β€” hands it the actual list of hosts to ping, right there in the command. ⭐
  • -H switches β€” same energy but for switches. hands it 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. using the -C option selects the default file and/or environment variable to use. for this command, it is totally valid to use a file that lists both hosts and switches. 😌 no cap.
ethpingall -C -H 'switch1 switch2'

SWITCHES='switch1 switch2' ethpingall -C

see how pretty that is? -C + -H + the env var, all living their best life together. πŸ’–


πŸ’… ENVIRONMENT VARIABLES πŸ’…

  • HOSTS β€” the list of hosts. gets used if the -h option wasn't supplied. πŸ¦‹
  • SWITCHES β€” the list of switches. gets used if the -H option wasn't supplied. 🐚
  • HOSTS_FILE β€” a file containing the list of hosts. kicks in when there's no -f and no -h. πŸ“
  • SWITCHES_FILE β€” a file containing the list of switches. kicks in when there's no -F and no -H. πŸ“
  • FF_MAX_PARALLEL β€” when the -p option is used, this is the maximum number of concurrent operations that get performed. so this is literally the "how many at once" dial. πŸ”₯

and that's the whole page bestie. go ping something. ily. 🫢

Β© Copyright(C) 2020-2024 β€” Intel Corporation. that's the source, that's the version range, that's the date. iconic of them honestly. πŸ’–

πŸ“¦ where this page comes from