User Manual

Table Of Contents
Rev 4.60
Mellanox Technologies
75
8.3.7 perfquery
Queries InfiniBand ports’ performance and error counters. Optionally, it displays aggregated
counters for all ports of a node. It can also reset counters after reading them or simply reset them.
8.3.7.1 perfquery Applicable Hardware
All InfiniBand devices.
8.3.7.2 perfquery Synopsys
The table below lists the various flags of the command.
PartCap:.........................128
DevId:...........................0x634a
Revision:........................0x000000a0
LocalPort:.......................1
VendorId:........................0x0002c9
perfquery [-h] [-d] [-G] [--xmtsl, -X] [--xmtdisc, -D] [--rcvsl, -S] [--rcverr, -E]
[--smplctl, -c] [-a] [--Lid, -L] [--sm_port, -s <lid>] [--errors, -e] [--verbose, -
v] [--usage, -u][-l] [-r] [-C <ca_name>] [-P <ca_port>] [-R][-t <timeout_ms>] [-V]
[<lid|guid> [[port][reset_mask]]]
Table 16 - perfquery Flags and Options
Flag Description
--help, -h Print the help menu
--debug, -d Raise the IB debug level. May be used several times for higher debug
levels (-ddd or -d -d -d)
--Guid,-G Use GUID address argument. In most cases, it is the Port GUID.
Example:
‘0x08f1040023’
--xmtsl, -X Show Xmt SL port counters
--rcvsl, -S Show Rcv SL port counters
--xmtdisc, -D Show Xmt Discard Details
--rcverr, -E Show Rcv Error Details
--smplctl, -c Show samples control
--all_ports, -a Apply query to all ports
--Lid, -L Use LID address argument
--sm_port, -s <lid> SM port lid
--errors, -e Show send and receive errors
--verbose, -v Increase verbosity level
--usage, -u Usage message