1 .TH IBSTAT 8 "July 25, 2006" "OpenIB" "OpenIB Diagnostics"
4 ibstat \- query basic status of InfiniBand device(s)
8 [\-d(ebug)] [\-l(ist_of_cas)] [\-s(hort)] [\-p(ort_list)] [\-V(ersion)] [\-h] <ca_name> [portnum]
12 ibstat is a binary which displays basic information obtained from the local
13 IB driver. Output includes LID, SMLID, port state, link width active, and port
16 It is similar to the ibstatus utility but implemented as a binary rather
17 than a script. It has options to list CAs and/or ports and displays more
18 information than ibstatus.
24 \fB\-l\fR, \fB\-\-list_of_cas\fR
27 \fB\-s\fR, \fB\-\-short\fR
30 \fB\-p\fR, \fB\-\-port_list\fR
34 InfiniBand device name
37 port number of InfiniBand device
41 Most OpenIB diagnostics take the following common flags. The exact list of
42 supported flags per utility can be found in the usage message and can be shown
43 using the util_name -h syntax.
47 \-d raise the IB debugging level.
48 May be used several times (-ddd or -d -d -d).
50 \-e show send and receive errors (timeouts and others)
52 \-h show the usage message
54 \-v increase the application verbosity level.
55 May be used several times (-vv or -v -v -v)
57 \-V show the version info.
61 \-D use directed path address arguments. The path
62 is a comma separated list of out ports.
65 "0,1,2,1,4" # out via port 1, then 2, ...
67 \-G use GUID address argument. In most cases, it is the Port GUID.
71 \-s <smlid> use 'smlid' as the target lid for SM/SA queries.
75 \-C <ca_name> use the specified ca_name.
77 \-P <ca_port> use the specified ca_port.
79 \-t <timeout_ms> override the default timeout for the solicited mads.
81 Multiple CA/Multiple Port Support
83 When no IB device or port is specified, the port to use is selected
84 by the following criteria:
86 1. the first port that is ACTIVE.
88 2. if not found, the first port that is UP (physical link up).
90 If a port and/or CA name is specified, the user request is
91 attempted to be fulfilled, and will fail if it is not possible.
96 ibstat # display status of all ports on all IB devices
98 ibstat -l # list all IB devices
100 ibstat -p # show port guids
102 ibstat mthca0 2 # show status of port 2 of 'mthca0'
110 .RI < halr@voltaire.com >