IBPRINTSWITCH(8) OpenIB Diagnostics IBPRINTSWITCH(8)NAME
ibprintswitch.pl - print either the switch specified or a list of switches from the ibnetdiscover output
SYNOPSIS
ibprintswitch.pl [-R -l -C <ca_name> -P <ca_port>] [<switch_guid|switch_name>]
DESCRIPTION
Faster than greping/viewing with an editor the output of ibnetdiscover, ibprintswitch.pl will parse out and print either the switch infor-
mation for the switch specified or a list of all the switches found in the subnet. In addition, it will crudely parse on the node descrip-
tion information and if found report all the information for an entire chasis if the description information is consistent.
Finally, ibprintswitch.pl will also reuse the cached ibnetdiscover output from some of the other diag tools which makes it a bit faster
than running ibnetdiscover from scratch.
OPTIONS -l List the switches (simply a wrapper for ibswitches).
-R Recalculate the ibnetdiscover information, ie do not use the cached information. This option is slower but should be used if the
diag tools have not been used for some time or if there are other reasons to believe that the fabric has changed.
-C <ca_name> use the specified ca_name for the search.
-P <ca_port> use the specified ca_port for the search.
AUTHORS
Ira Weiny
<weiny2@llnl.gov>
Hal Rosenstock
<halr@voltaire.com>
OpenIB May 31, 2007 IBPRINTSWITCH(8)
Check Out this Related Man Page
IBQUERYERRORS(8) OpenIB Diagnostics IBQUERYERRORS(8)NAME
ibqueryerrors.pl - query and report non-zero IB port counters
SYNOPSIS
ibqueryerrors.pl [-a -c -r -R -C <ca_name> -P <ca_port> -s <err1,err2,...> -S <switch_guid> -D <direct_route> -d]
DESCRIPTION
ibqueryerrors.pl reports the port counters of switches. This is similar to ibcheckerrors with the additional ability to filter out
selected errors, include the optional transmit and receive data counters, report actions to remedy a non-zero count, and report full link
information for the link reported.
OPTIONS -a Report an action to take. Some of the counters are not errors in and of themselves. This reports some more information on what the
counters mean and what actions can/should be taken if they are non-zero.
-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.
-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.
-R Recalculate the ibnetdiscover information, ie do not use the cached information. This option is slower but should be used if the
diag tools have not been used for some time or if there are other reasons to believe that the fabric has changed.
-s <err1,err2,...>
Suppress the errors listed in the comma separated list provided.
-S <switch_guid>
Report results only for the switch specified. (hex format)
-D <direct_route>
Report results only for the switch specified by the direct route path.
-d Include the optional transmit and receive data counters.
-C <ca_name> use the specified ca_name for the search.
-P <ca_port> use the specified ca_port for the search.
AUTHOR
Ira Weiny
<weiny2@llnl.gov>
OpenIB Jan 24, 2008 IBQUERYERRORS(8)