Documentation, Support, and Training
Understanding Hardware Commands
Queries InfiniBand port counters.
perfquery [-d][-e][-G][-h][-a][-l][-r][-R][-v][-V][-C ca_name][-P ca_port][-t timeout][lid|guid [[port][reset_mask]]]
where:
ca_name is the channel adapter name.
ca_port is the channel adapter port.
timeout is the timeout in milliseconds.
lid is the local identifier.
guid is the global unit identifier.
port is the port being queried.
reset_mask is the two-byte mask.
This InfiniBand command uses the performance management GMPs to acquire the PortCounters or PortExtendedCounters from the Performance Manager agent at the node or port specified.
Note - The data values retrieved from PortCounters and PortExtendedCounters are represented as octets divided by 4.
Note - Providing a port value of 255 ensures that the operation is performed on all ports.
The following table describes the options to the perfquery command and their purposes:
|
The following example shows how to display all port counters for LID 24, port 8 with the perfquery command.
# perfquery 24 8 # Port counters: Lid 24 port 8 PortSelect:......................8 CounterSelect:...................0x1b01 SymbolErrors:....................0 LinkRecovers:....................0 LinkDowned:......................0 RcvErrors:.......................0 RcvRemotePhysErrors:.............0 RcvSwRelayErrors:................0 XmtDiscards:.....................0 XmtConstraintErrors:.............0 RcvConstraintErrors:.............0 LinkIntegrityErrors:.............0 ExcBufOverrunErrors:.............0 VL15Dropped:.....................0 XmtData:.........................75384 RcvData:.........................87696 XmtPkts:.........................1047 RcvPkts:.........................1218 #
perfquery man page