opaswdisableall(8)

πŸ’– opaswdisableall πŸ’–

okay so bestie, welcome to opaswdisableall(8) from the IFSFFCLIRG man page family β€” yes it's a section 8 system admin situation and yes it's giving Linux energy. 🐧✨

Here's the whole vibe: this command disables all unused switch ports. That's it, that's the job. Clean, simple, iconic. πŸ’…


✨ NAME ✨

opaswdisableall β€” (Linux) disables all unused switch ports. πŸŽ€


πŸ¦‹ Syntax πŸ¦‹

opaswdisableall [-t  portsfile] [-p  ports] [-F  focus]

lowkey a tiny synopsis, highkey a lot of power. 🫢


🌸 Options 🌸

  • --help β€” produces the full help text. not me reading the help text first like a responsible main character. 😌
  • -t portsfile β€” specifies the file with the list of local HFI ports used to access fabrics when clearing counters. the default is the /etc/opa/ports file. πŸ“
  • -p ports β€” specifies the list of local HFI ports used to access fabrics for counter clear. the default is the first active port. also, crucial info: the first HFI in the system is 1, and the first port on an HFI is 1. it uses the format hfi:port, for example:
    • 0:0 β€” first active port in system.
    • 0:y β€” port y within system.
    • x:0 β€” first active port on HFI x.
    • x:y β€” HFI x, port y.

iykyk, the x:y notation is the whole personality of this flag. 🧚

  • -F focus β€” specifies the an opareport-style focus argument to limit the scope of operation. keep it focused bestie, main character energy only. πŸ”

🌈 Examples 🌈

opaswdisableall
opaswdisableall -p '1:1 1:2 2:1 2:2'

the way that second one just lists four ports like it's nothing?? obsessed. πŸ˜­πŸ’–


⭐ Environment Variables ⭐

the following environment variables are also used by this command:

  • PORTS β€” list of ports, used in absence of -t and -p.
  • PORTS_FILE β€” file containing list of ports, used in absence of -t and -p.
🌟 little reminder bestie: if you don't hand over -t or -p, these env vars are the ones stepping in. no cap.

πŸ’œ SEE ALSO πŸ’œ

there aren't any SEE ALSO references in this page, so we're keeping it cute and self-contained. periodt. πŸŽ€


and that's the whole page, bestie β€” go forth and disable those unused switch ports, you absolute legend. πŸ‘‘

Copyright(C) 2015-2019 Intel Corporation β€” mwah, thanks Intel, this one's from the IFSFFCLIRG (Man Page) collection. πŸ’–βœ¨πŸ¦‹