IBCHECKPORTSTATE(8)

πŸ“¦ version 61.1^20260812git975bdaf, in fedora 43, fedora 44

πŸ’– 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