Documentation, Support, and Training
Understanding ILOM on the Switch
Administering ILOM (Web Interface)
Understanding Switch-Specific Commands
activate Command (switch-specific)
deactivate Command (switch-specific)
Queries InfiniBand port counters. Issued on the Linux InfiniBand host.
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 software 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 4, port 24 with the perfquery command.
# perfquery 4 24 # Port counters: Lid 4 port 24 PortSelect:......................24 CounterSelect:...................0x1b01 SymbolErrors:....................0 LinkRecovers:....................0 LinkDowned:......................0 RcvErrors:.......................0 RcvRemotePhysErrors:.............0 RcvSwRelayErrors:................0 XmtDiscards:.....................0 XmtConstraintErrors:.............0 RcvConstraintErrors:.............0 CounterSelect2:..................0x00 LinkIntegrityErrors:.............0 ExcBufOverrunErrors:.............0 VL15Dropped:.....................0 XmtData:.........................0 RcvData:.........................0 XmtPkts:.........................0 RcvPkts:.........................0 XmtWait:.........................0 #
perfquery man page