opapmaquery(1) | IFSFFCLIRG (Man Page) | opapmaquery(1) |
opapmaquery
(All) Performs individual PMA queries against a specific LID. It is very useful in displaying port runtime information.
opapmaquery [-v] [-s sl] [-l lid] [-h hfi]
[-p port] [-o otype]
[-m port] [-n mask] [-e mask] [-w mask]
Produces full help text.
Specifies the verbose output. Can be specified more than once for additional openib debugging and libibumad debugging.
Specifies different service level. Default is SM SL.
Specifies the destination LID. Default is local port.
Specifies the HFI, numbered 1..n. Using 0 specifies that the -p port port is a system-wide port number. Default is 0.
Specifies the port, numbered 1..n. Using 0 specifies the first active port. Default is 0.
Specifies the output type. Default is getportstatus. Refer to otype options vary by report for supported options.
classportinfo Specifies the class of port info.
getportstatus Specifies the list of port counters. Supported options:
[-m port] [-w vl mask]
clearportstatus Clears the port counters. Supported options:
[-n port mask] [-e counter mask] [-w vl mask]
getdatacounters Specifies the list of data counters. Supported options:
[-n port mask] [-w vl mask]
geterrorcounters Specifies the list of error counters. Supported options:
[-n port mask] [-w vl mask]
geterrorinfo Specifies the list of error info. Supported options:
[-n port mask]
clearerrorinfo Clears the error info. Supported options:
[-n port mask] [-e counter mask]
Specifies the port in destination device to query/clear. Required when using -l option for all but -o classportinfo.
Specifies the port mask, in hexadecimal. Bits represent ports 63-0. For example: 0x2 for port 1, 0x6 for ports 1, 2.
Specifies the counter/error select mask, in hexadecimal. The following lists "Mask - Bit - Location for Counters". Where applicable, location "for Error Info" is presented. Default is all bits set (0xffffffe0).
Specifies the Virtual Lane Select Mask, in hexadecimal. Bits represent VL number 31-0. For example, 0x1 for VL 0, 0x3 for VL 0,1. Default is none.
opapmaquery -o classportinfo
opapmaquery -o getportstatus
# get data and error counts, local port
opapmaquery -o getdatacounters -n 0x2
# get data counts, local port 1
opapmaquery -o geterrorcounters -n 0x2
# get error counts, local port 1
opapmaquery -o clearportstatus -n 0x2
# clear all counters local port 1
opapmaquery -o geterrorinfo -n 0x2
# get error info for local port 1
opapmaquery -o clearerrorinfo -n 0x2
# clear all error info, local port 1
opapmaquery -o getdatacounters -l 6 -n 0x7e -w 0x1
# for device at LID 6, get data counters on ports 1-6, inclusive of VL 0 data
opapmaquery -o clearportstatus -l 6 -n 0x2 -e 0x1ffff
# for device at LID 6, on port 1, clear only error counters
opapmaquery -o clearerrorinfo -l 6 -n 0x2 -e 0x04000000
# for device at LID 6, on ports 1, clear uncorrectable error info
Intel Corporation | Copyright(C) 2015-2019 |