OS Manuals

/usr/bin/ibstat

userspace components for the Linux Kernel's drivers/infiniband subsystem

From rdma-core 66.0-r0 (os), captured 2026-11-10 by running ibstat --help (exit 2). permalink

Usage: /usr/bin/ibstat [options] <ca_name> [portnum]

Options:
  --list_of_cas, -l       list all IB devices
  --short, -s             short output
  --port_list, -p         show port list
  --config, -z <config>   use config file, default: /etc/infiniband-diags/ibdiag.conf
  --pkey-idx, -Y <idx>    P_Key table index for outgoing SA/GMP MADs
                          (default 0)
  --verbose, -v           increase verbosity level
  --debug, -d             raise debug level
  --help, -h              help message
  --version, -V           show version

Examples:
  /usr/bin/ibstat -l       # list all IB devices
  /usr/bin/ibstat mthca0 2 # stat port 2 of 'mthca0'
Options (9)
OptionDescriptionSource
--list_of_cas, -llist all IB deviceshelp
--short, -sshort outputhelp
--port_list, -pshow port listhelp
--config, -z configuse config file, default: /etc/infiniband-diags/ibdiag.confhelp
--pkey-idx, -Y idxP_Key table index for outgoing SA/GMP MADs (default 0)help
--verbose, -vincrease verbosity levelhelp
--debug, -draise debug levelhelp
--help, -hhelp messagehelp
--version, -Vshow versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.