User Manual
Rev 2.2-1.0.1
Mellanox Technologies
227
9.4.4 ibstat
ibstat is a binary which displays basic information obtained from the local IB driver. Output
includes LID, SMLID, port state, link width active, and port physical state.
Synopsis
ibstat [-d(ebug)] [-l(ist_of_cas)] [-s(hort)] [-p(ort_list)] [-V(ersion)] [-h] <ca_name>
[portnum]
Options
The table below lists the various flags of the command.
Most OpenIB diagnostics take the following common flags. The exact list of supported flags per
utility can be found in the usage message and can be shown using the util_name -h syntax..
Table 31 - ibstat Flags and Options
Flag Description
-l, --list_of_cas List all IB devices
-s, --short Short output
-p, --port_list Show port list
ca_name InfiniBand device name
portnum Port number of InfiniBand device
--debug, -d/-ddd/-d -d -d Raise the IB debugging level
--help, -h Show the usage message
-verbose, -v/-vv/-v -v -v Increase the application verbosity level
--version, -V Show the version info
--usage, -u usage message
Examples
ibstat # display status of all ports on all IB devices
ibstat -l # list all IB devices
ibstat -p # show port guids
ibstat mthca0 2 # show status of port 2 of 'mthca0'
9.4.5 ibtracert
ibtracert uses SMPs to trace the path from a source GID/LID to a destination GID/LID. Each hop
along the path is displayed until the destination is reached or a hop does not respond. By using
the -m option, multicast path tracing can be performed between source and destination nodes.