IBPRINTSWITCH(8)
π
IBPRINTSWITCH β like, the ibprintswitch.pl era π
ok so bestie, welcome to IBPRINTSWITCH(8), part of the OpenIB Diagnostics fam. yes it's a section 8 page, yes it's giving admin-tools-only, and yes we're gonna make it cute. sit down, hydrate, let's go π¦
β¨ NAME β¨
ibprintswitch.pl β prints either the switch you asked for, or a whole list of switches, straight out of the ibnetdiscover output. iconic behavior honestly π
β¨ SYNOPSIS β¨
ibprintswitch.pl [-R -l -C <ca_name> -P <ca_port>]
[<switch_guid|switch_name>]
β¨ DESCRIPTION β¨
ok so real talk: it's faster than greping or opening the ibnetdiscover output in an editor. not me being efficient, we love that. ibprintswitch.pl will parse out and print either:
- the switch info for the one switch you specified, or
- a list of all the switches it found in the subnet.
and that's not even the whole slay. it also does a crude parse on the node description info β and if it finds something, it reports all the info for an entire chasis when the description info is consistent. yes, "crudely", that's the actual word, it's not me being shady, that's just what it does π
and finally β the part that's giving main character energy β ibprintswitch.pl will also reuse the cached ibnetdiscover output from some of the other diag tools, which makes it a lil bit faster than running ibnetdiscover from scratch. β¨ efficiency queen β¨
β¨ OPTIONS β¨
-lβ list the switches. that's it, that's the whole vibe. it's simply a wrapper foribswitches. π-Rβ recalculate theibnetdiscoverinformation, aka do NOT use the cached info. yes it's slower. yes you should still use it if the diag tools haven't been used in a while, or if there's literally any other reason to believe the fabric has changed. no cap. π₯-C <ca_name>β use the specifiedca_namefor the search. π-P <ca_port>β use the specifiedca_portfor the search. π
β¨ AUTHORS β¨
the legends themselves, give them their flowers πΈ:
- Ira Weiny β
<weiny2@llnl.gov>π - Hal Rosenstock β
<halr@voltaire.com>π
bestie reminder: keep the cache fresh or hit -R, because stale fabric data is not the vibe. π
and that's the page!! OpenIB, dated May 31, 2007, page IBPRINTSWITCH(8) β we stan a classic. mwah, go print some switches π«Άβ¨π
π¦ 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