ibsysstat(8)

πŸ’– ibsysstat β€” system status on an InfiniBand address πŸ’–

okay bestie, grab a snack because ibsysstat is literally the group chat of InfiniBand tools β€” it slides into another IB node's DMs, checks that the vibe (aka connectivity) is still there, and comes back with the tea. This is page 8 of the Open IB Diagnostics manual, and yeah, it's giving absolute icon behavior. πŸ‘‘


✨ SYNOPSIS ✨

ibsysstat [options] <dest lid | guid> [<op>]

🌸 DESCRIPTION 🌸

So here's the deal, fr fr: ibsysstat uses vendor mads to validate connectivity between IB nodes, and to obtain other information about the IB node. That's the whole personality. It's basically a "u up?" text but for fabric nodes. πŸ’Œ

And the way it works? ibsysstat runs as client/server, bestie. Default is to run as client β€” so if u don't say anything, you're the one knocking on the door, not the one answering it. Periodt.


πŸŽ€ OPTIONS πŸŽ€

Current supported operations πŸ¦‹

These are the ops u can pass as that [<op>] at the end of the synopsis. Pick ur fighter:

  • ping β€” verify connectivity to server (this is the default, the main character, the one that runs if u say nothing)
  • host β€” obtain host information from server πŸ–₯️
  • cpu β€” obtain cpu information from server 🧠

Flags πŸ’…

  • -o, --oui β€” use specified OUI number to multiplex vendor mads
  • -S, --Server β€” start in server mode. Heads up bestie: it does not return. Like, it commits. It's a lifestyle. Don't expect it to come back to u. 😭

Addressing Flags 🌈

  • -G, --Guid β€” the address specified is a Port GUID
  • -L, --Lid β€” the address specified is a LID
  • -s, --sm_port <smlid> β€” use smlid as the target lid for SA queries.

Port Selection flags πŸ‘‘

  • -C, --Ca <ca_name> β€” use the specified ca_name.
  • -P, --Port <ca_port> β€” use the specified ca_port.
  • -Y, --pkey-idx <idx> β€” P_Key table index (0-65535, default 0) used for the outgoing SA/GMP MADs. and here's the lil plot twist β€” SMP (SMI directed-route/LID-routed) MADs always use P_Key index 0. no exceptions, not even for u. πŸ’€

Local port Selection 🧚

Multiple port / Multiple CA support, aka: when no IB device or port is specified (peep the "local umad parameters" below), the libibumad library selects the port to use by the following criteria:

  1. the first port that is ACTIVE.
  2. if not found, the first port that is UP (physical link up).

And if a port and/or CA name is specified, the libibumad library attempts to fulfill the user request, and will fail if it is not possible. no vibes-based rescuing, it just says no. πŸ™ˆ

For example:

ibaddr                 # use the first port (criteria #1 above)
ibaddr -C mthca1       # pick the best port from "mthca1" only.
ibaddr -P 2            # use the second (active/up) port from the first available IB device.
ibaddr -C mthca0 -P 2  # use the specified port only.

Debugging flags πŸ”₯

  • -d β€” raise the IB debugging level. May be used several times (-ddd or -d -d -d).
  • -e β€” show send and receive errors (timeouts and others)
  • -h, --help β€” show the usage message
  • -v, --verbose β€” increase the application verbosity level. May be used several times (-vv or -v -v -v)
  • -V, --version β€” show the version info.

Configuration flags ⭐

  • -t, --timeout <timeout_ms> β€” override the default timeout for the solicited mads.
  • --config, -z <config_file> β€” Specify alternate config file. Default: /etc/infiniband-diags/ibdiag.conf

πŸ“ FILES πŸ“

CONFIG FILE πŸ’œ

/etc/infiniband-diags/ibdiag.conf

A global config file is provided to set some of the common options for all tools. See supplied config file for details.


🫢 AUTHOR 🫢

Hal Rosenstock < <halr@voltaire.com> >


okay that's the whole page, bestie, u ate that. this was the ibsysstat(8) page from Open IB Diagnostics, dated 2017-08-21 β€” the og drop, still iconic, still slaying. go ping something. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from
  • arch rolling: rdma-core 65.0-1 Β· GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-MIT AND GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-FreeBSD AND GPL-2.0-or-later OR LicenseRef-Intel-BSD-3-Clause AND GPL-2.0-or-later OR LicenseRef-PathScale-BSD-Patent-License AND CC0-1.0 AND MIT AND BSD-2-Clause AND CPL-1.0 OR BSD-2-Clause OR GPL-2.0-or-later
  • ubuntu stonking: infiniband-diags 64.0-1ubuntu1 Β· BSD-MIT OR GPL-2.0-only
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms