opaportinfo(1)
π NAME π
opaportinfo β bestie, this one shows you the configuration and state of a specified Intel(R) Omni-Path Host Fabric Interface (HFI) port, either on the local host or on a remote switch. (Host or Switch) energy fr fr.
It lives in the IFSFFCLIRG manual, and it's giving very much "I just want to know what my port is doing" main character vibes. β¨
πΈ Syntax πΈ
opaportinfo [-l lid [-m dest_port]] [-h hfi] [-p port] [-v]
That's it. That's the whole summoning circle. π―οΈ
π Options π
-llid β specifies the destination LID. Default is the local port. (yes, the default is just, like, right here at home π )-mdest_port β specifies the destination port. Default is the port with the given LID. This one is useful to access switch ports. (switch besties, this is your moment π )-hhfi β specifies the HFI to send through/to. Default is the first HFI.-pport β specifies the port to send through/to. Default is the first port.
β¨ the -h and -p combo menu β¨
so -h and -p together permit a whole variety of selections, and the way that each one means something specific is lowkey iconic:
-h 0β first active port in system (Default). β-h 0 -p 0β first active port in system.-h xβ first active port on HFI x.-h x -p 0β first active port on HFI x.-h 0 -p yβ port y within system (no matter which ports are active). like, it does NOT care what's active, it's picking that port periodt-h x -p yβ HFI x, port y. (the most specific girlie of them all π«Ά)
π¦ Debug Options π¦
-vβ specifies the verbose output. And ooh, the way that additional invocations stack β-v -v... β turns on debugging, openib debugging, and libibumad debugging. stack them like bracelets bestie, each one unlocks more π
π Examples π
okay here's what it actually looks like in the wild:
opaportinfo -p 1
opaportinfo -p 2 -h 2 -l 5 -m 18
no cap, that second one is doing a lot of work. π
π Description π
So here's the tea you genuinely need to know: to access switch ports using this command, the -l and -m options must be given. Both of them. Together. No skipping. π
The -l option specifies the LID of switch port 0 β which is the logical management port for the switch β and -m specifies the actual switch port to access.
like,-lis the front desk and-mis the actual room you're trying to walk into. you need both or you're just standing in the lobby. πͺ
and that's the whole page, bestie!! This lil cutie is opaportinfo(1) from the IFSFFCLIRG (Man Page) set, brought to you by the lovely people at Intel Corporation, Copyright(C) 2015-2019. go check your ports, you're doing amazing, mwah πβ¨π
π¦ where this page comes from
- centos-stream 9: opa-basic-tools 1:10.12.1.0.6-1.el9 Β· BSD or GPLv2
- debian bookworm: opa-basic-tools 10.10.3.0.11-1+b1 Β· BSD-3-clause-top
- debian trixie: opa-basic-tools 10.10.3.0.11-1+b2 Β· BSD-3-clause-top
- opensuse-leap 16.0: opa-basic-tools 10.14.4.0.20-160000.3.2 Β· BSD-3-Clause OR GPL-2.0-only
- ubuntu jammy: opa-basic-tools 10.10.3.0.11-1ubuntu1 Β· BSD-3-clause-top
- ubuntu noble: opa-basic-tools 10.10.3.0.11-1ubuntu3 Β· BSD-3-clause-top
- ubuntu questing: opa-basic-tools 10.10.3.0.11-1ubuntu3
- ubuntu resolute: opa-basic-tools 10.10.3.0.11-1ubuntu4 Β· BSD-3-clause-top
- ubuntu stonking: opa-basic-tools 10.10.3.0.11-1ubuntu5 Β· BSD-3-clause-top
- Copyright 2015-2019, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms