Lines Matching +full:port +full:- +full:config

5 PERFQUERY \- 
7 .nr rst2man-indent-level 0
10 \\$1 \\n[an-margin]
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
13 -
14 \\n[rst2man-indent0]
15 \\n[rst2man-indent1]
16 \\n[rst2man-indent2]
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
33 .SH QUERY INFINIBAND PORT COUNTERS ON A SINGLE PORT
36 perfquery [options] [<lid|guid> [[port(s)] [reset_mask]]]
42 PortSamplesControl from the PMA at the node/port specified. Optionally shows
50 Note: Inputting a port of 255 indicates an operation be performed on all ports.
53 specified by either a comma separated list or a port range. See examples below.
57 .B \fB\-x, \-\-extended\fP
58 show extended port counters rather than (basic) port counters.
59 Note that extended port counters attribute is optional.
61 .B \fB\-X, \-\-xmtsl\fP
64 .B \fB\-S, \-\-rcvsl\fP
67 .B \fB\-D, \-\-xmtdisc\fP
70 .B \fB\-E, \-\-rcverr\fP
73 .B \fB\-D, \-\-xmtdisc\fP
76 .B \fB\-T, \-\-extended_speeds\fP
77 show extended speeds port counters. This is an optional counter.
79 .B \fB\-\-oprcvcounters\fP
82 .B \fB\-\-flowctlcounters\fP
85 .B \fB\-\-vloppackets\fP
88 .B \fB\-\-vlopdata\fP
91 .B \fB\-\-vlxmitflowctlerrors\fP
94 .B \fB\-\-vlxmitcounters\fP
97 .B \fB\-\-swportvlcong\fP
98 show sw port VL congestion. This is an optional counter.
100 .B \fB\-\-rcvcc\fP
103 .B \fB\-\-slrcvfecn\fP
106 .B \fB\-\-slrcvbecn\fP
109 .B \fB\-\-xmitcc\fP
112 .B \fB\-\-vlxmittimecc\fP
115 .B \fB\-c, \-\-smplctl\fP
116 show port samples control.
118 .B \fB\-a, \-\-all_ports\fP
125 .B \fB\-l, \-\-loop_ports\fP
126 If all ports are selected by the user (either through the \fB\-a\fP option
127 or port 255) or multiple ports are specified iterate through each port rather
130 .B \fB\-r, \-\-reset_after_read\fP
133 .B \fB\-R, \-\-Reset_only\fP
136 .B \fB\-\-dgid <gid>\fP
140 .\" Define the common option -G
143 \fB\-G, \-\-Guid\fP The address specified is a Port GUID
144 .\" Define the common option -L
147 \fB\-L, \-\-Lid\fP The address specified is a LID
148 .\" Define the common option -s
151 \fB\-s, \-\-sm_port <smlid>\fP use \(aqsmlid\(aq as the target lid for SA queries.
152 .SS Port Selection flags
153 .\" Define the common option -C
156 \fB\-C, \-\-Ca <ca_name>\fP use the specified ca_name.
157 .\" Define the common option -P
160 \fB\-P, \-\-Port <ca_port>\fP use the specified ca_port.
161 .\" Explanation of local port selection
163 .SS Local port Selection
165 Multiple port/Multiple CA support: when no IB device or port is specified
167 selects the port to use by the following criteria:
172 the first port that is ACTIVE.
174 if not found, the first port that is UP (physical link up).
177 If a port and/or CA name is specified, the libibumad library attempts
186 ibaddr # use the first port (criteria #1 above)
187 ibaddr \-C mthca1 # pick the best port from "mthca1" only.
188 ibaddr \-P 2 # use the second (active/up) port from the first available IB device.
189 ibaddr \-C mthca0 \-P 2 # use the specified port only.
197 .\" Define the common option -d
201 .B \-d
203 May be used several times (\-ddd or \-d \-d \-d).
205 .\" Define the common option -e
209 .B \-e
212 .\" Define the common option -h
215 \fB\-h, \-\-help\fP show the usage message
216 .\" Define the common option -v
220 .B \fB\-v, \-\-verbose\fP
222 May be used several times (\-vv or \-v \-v \-v)
224 .\" Define the common option -V
227 \fB\-V, \-\-version\fP show the version info.
229 .\" Define the common option -t
232 \fB\-t, \-\-timeout <timeout_ms>\fP override the default timeout for the solicited mads.
233 .\" Define the common option -y
237 .B \fB\-y, \-\-m_key <key>\fP
238 use the specified M_key for requests. If non\-numeric value (like \(aqx\(aq)
241 .\" Define the common option -z
244 \fB\-\-config, \-z <config_file>\fP Specify alternate config file.
247 Default: /etc/infiniband-diags/ibdiag.conf
251 .\" Common text for the config file
253 .SS CONFIG FILE
255 /etc/infiniband-diags/ibdiag.conf
257 A global config file is provided to set some of the common options for all
258 tools. See supplied config file for details.
265 perfquery # read local port performance counters
266 perfquery 32 1 # read performance counters from lid 32, port 1
267 perfquery \-x 32 1 # read extended performance counters from lid 32, port 1
268 perfquery \-a 32 # read perf counters from lid 32, all ports
269 perfquery \-r 32 1 # read performance counters and reset
270 perfquery \-x \-r 32 1 # read extended performance counters and reset
271 perfquery \-R 0x20 1 # reset performance counters of port 1 only
272 perfquery \-x \-R 0x20 1 # reset extended performance counters of port 1 only
273 perfquery \-R \-a 32 # reset performance counters of all ports
274 perfquery \-R 32 2 0x0fff # reset only error counters of port 2
275 perfquery \-R 32 2 0xf000 # reset only non\-error counters of port 2
276 perfquery \-a 32 1\-10 # read performance counters from lid 32, port 1\-10, aggregate output
277 perfquery \-l 32 1\-10 # read performance counters from lid 32, port 1\-10, output each port
278 perfquery \-a 32 1,4,8 # read performance counters from lid 32, port 1, 4, and 8, aggregate outp…
279 perfquery \-l 32 1,4,8 # read performance counters from lid 32, port 1, 4, and 8, output each po…