User Manual

Table Of Contents
InfiniBand FabricRev 4.3
Mellanox Technologies
61
7.3.6 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.
7.3.6.1 perfquery Applicable Hardware
All InfiniBand devices.
7.3.6.2 perfquery Synopsys
The table below lists the various flags of the command.
# Node info: DR path slid 65535; dlid 65535; 0
BaseVers:........................1
ClassVers:.......................1
NodeType:........................Channel Adapter
NumPorts:........................2
SystemGuid:......................0x0002c9030000103b
Guid:............................0x0002c90300001038
PortGuid:........................0x0002c90300001039
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 9 - 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