IBDATACOUNTS(8)
π 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
- 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