IBDATACOUNTS(8)

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

πŸ’… IBDATACOUNTS β€” okay bestie, let's get those port data counters

So this is ibdatacounts, part of the OpenIB Diagnostics crew (section 8 of the manual, iykyk). It's the little tool that goes and fetches the PMA data counters for you. Periodt.


✨ SYNOPSIS ✨

ibdatacounts [-h] [-b] [-v] [-G] [-N | -nocolor] [-C ca_name] [-P
ca_port] [-t(imeout) timeout_ms] <lid|guid> [<port>]

🌸 DESCRIPTION 🌸

Okay so here's the tea πŸ“: ibdatacounts goes and obtains the PMA data counters from whatever port (or node) you point it at.

And listen β€” the port address you hand it is a lid by default. It's only a guid if you slap the -G option on there. So don't get it twisted πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -G β€” use a GUID address argument instead of a lid. In most cases it's the Port GUID, bestie. Example: "0x08f1040023" ✨
  • -v β€” crank the verbosity level up. Louder. More words. πŸ”₯
  • -b β€” brief mode. Short and sweet, no yapping.
  • -N | -nocolor β€” use mono instead of color mode. Aesthetic downgrade but okay 😭
  • -C <ca_name> β€” use the ca_name you specified. You pick it, it uses it 🫢
  • -P <ca_port> β€” use the ca_port you specified. Same energy, different letter.
  • -t <timeout_ms> β€” override the default timeout for the solicited mads. Because sometimes the default just isn't giving ⏳

πŸ’– EXAMPLE πŸ’–

ibdatacounts 2           # show data counters for lid 2

ibdatacounts 2   4       # show data counters for lid 2 port 4

Look at that. Two commands. Both slaying. The first one's all "gimme lid 2", the second one's like "lid 2 but specifically port 4" πŸ¦‹


🌈 SEE ALSO 🌈

perfquery(8), ibaddr(8) β€” go say hi, they're friends of ours πŸ’œ


πŸŽ€ AUTHOR πŸŽ€

Hal Rosenstock <halr@voltaire.com>


Not me ending the page but the page is literally over πŸ™ˆ That's the whole thing, no notes.

OpenIB 🌸 May 30, 2007 β€” yeah she's vintage, she's iconic, she's been here since 2007 and she still hits. Mwah πŸ’…βœ¨

πŸ“¦ where this page comes from