ibqueryerrors(8) - Linux man page

Name

ibqueryerrors - query and report non-zero IB port counters

Synopsis

ibqueryerrors [options]

Description

The default behavior is to report the port error counters which exceed a threshold for each port in the fabric. The default threshold is zero (0). Error fields can also be suppressed entirely.

In addition to reporting errors on every port. ibqueryerrors can report the port transmit and receive data as well as report full link information to the remote port if available.

Options

-s <err1,err2,...>
Suppress the errors listed in the comma separated list provided.
-c
Suppress some of the common "side effect" counters. These counters usually do not indicate an error condition and can be usually be safely ignored.
-G <port_guid> -S <port_guid> --port-guid
Report results for the port specified. For switches results are printed for all ports not just switch port 0.
-S same as "-G". (provided only for backward compatibility)
-D <direct_route>
Report results for the port specified. For switches results are printed for all ports not just switch port 0.
-r
Report the port information. This includes LID, port, external port (if applicable), link speed setting, remote GUID, remote port, remote external port (if applicable), and remote node description information.
--data
Include the optional transmit and receive data counters.
--threshold-file
Specify an alternate threshold file. The default is /etc/infiniband-diags/error_thresholds
--switch print data for switches only
--ca print data for CA's only
--router print data for routers only
--clear-errors -k Clear error counters after read.
-k and -K can be used together to clear both errors and counters.
--clear-counts -K Clear data counters after read.
CAUTION clearing data counters will occur regardless of if they are printed or not. This is because data counters are only printed on ports which have errors. This means if a port has 0 errors and the -K option is specified the data counters will be cleared without any printed output.
--details include receive error and transmit discard details
--load-cache <filename>
Load and use the cached ibnetdiscover data stored in the specified filename. May be useful for outputting and learning about other fabrics or a previous state of a fabric. Cannot be used if user specifies a direct route path. See ibnetdiscover for information on caching ibnetdiscover output.
-R (This option is obsolete and does nothing)

Common Options

-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 show the usage message

-v increase the application verbosity level. May be used several times (-vv or -v -v -v)

-V show the version info.

# Other common flags:

-C <ca_name> use the specified ca_name.

-P <ca_port> use the specified ca_port.

-t <timeout_ms> override the default timeout for the solicited mads.

Exit Status

If a failure to scan the fabric occurs return -1. If the scan succeeds without errors beyond thresholds return 0. If errors are found on ports beyond thresholds return 1.

Files

/etc/infiniband-diags/error_thresholds

Define threshold values for errors. File format is simple "name=val". Comments begin with '#'

Example:

# Define thresholds for error counters

SymbolErrorCounter=10

LinkErrorRecoveryCounter=10

VL15Dropped=100

Author

Ira Weiny
<weiny2@llnl.gov>