IBCHECKPORTSTATE(8)
π IBCHECKPORTSTATE(8) β the ibcheckportstate glow-up π
okay bestie, so ibcheckportstate is a lil OpenIB Diagnostics tool and its whole personality is: "is this IB port actually up and vibing, or is it giving nothing?" β¨
πΈ NAME πΈ
ibcheckportstate β validate IB port for LinkUp and not Active state
(yes that's the actual one-liner, we keep it fr fr π )
π¦ SYNOPSIS π¦
ibcheckportstate [-h] [-v] [-N | -nocolor] [-G] [-C ca_name] [-P
ca_port] [-t(imeout) timeout_ms] <lid|guid> <port>
like... it's a lot of flags but we're gonna go through every single one, no skipping, periodt π
β¨ DESCRIPTION β¨
So what this does: it checks connectivity, and it checks that the port you point at has the right port state (which should be Active) and the right port physical state (which should be LinkUp). That's the vibe check. π©Ί
And the port address you hand it is a lid, unless you use the -G option, in which case it's a GUID address instead. iykyk π
π OPTIONS π
-Gβ use a GUID address argument instead of a lid. In most cases it's the Port GUID. Example they give:"0x08f1040023"β yes with the quotes, keep the quotes bestie π«Ά-vβ crank up the verbosity level, more talking, more lore π£οΈ-N|-nocolorβ use mono rather than color mode. lowkey sad but sometimes you need it π¨β‘οΈβ¬-C <ca_name>β use the specified ca_name. π-P <ca_port>β use the specified ca_port. π-t <timeout_ms>β override the default timeout for the solicited mads. not the vibe timeout, the actual milliseconds one β±οΈ
also there's a -h up in the synopsis which is the classic help flag moment, iconic as always π
π EXAMPLE π
ibcheckportstate 2 3 # check lid 2 port 3
look at her go π lid 2, port 3, checked, done, slayed. β¨
π SEE ALSO π
smppquery... no wait, it's smpquery(8), and ibaddr(8). go read those too, they're the sibling energy π
π AUTHOR π
Hal Rosenstock β <halr@voltaire.com> π«Ά
okay that's the whole page, and the sign-off goes a lil something like this: this was the OpenIB era, dated May 21, 2007 β a vintage queen fr fr π β¨ bye bestie, go check those ports πΈ
π¦ where this page comes from
- fedora 43: infiniband-diags-compat 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: infiniband-diags-compat 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: infiniband-diags-compat 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms