opainfo

Provides summary information for local HFI port(s).

Syntax

opainfo [-h hfi] [-p port] [-o type] [-g] [-d detail] [-v [-v]...]

Options

-h hfi

HFI, numbered 1..n. Using 0 specifies that the -p port port is a system-wide port number. Default is 0.

-p port

Port, numbered 1..n. If -h hfi is 0, then port is a system-wide port number. Default is 1.

-o type

Specifies output type. Can be used more than once. Default is brief summary of portinfo, counters, and cableinfo. Options include:

info
Outputs detailed portinfo.
stats
Outputs detailed port counters.
-g

Output is displayed in line-by-line format. Default = summary format.

-d detail

Output detail level. Range = 0 - n. CableInfo only. Default = 0.

-h 0

All ports on all HFIs (default).

-h 0 -p 0

First active port in system.

-h x

All active ports on HFI x.

-h x -p 0

First active port on HFI x.

-h 0 -p y

Port within system (no matter which ports are active).

-h x -p y

HFI x, port y

-v

Verbose output. Additional invocations (–v –v ...) turn on debugging, openib debugging, and libibumad debugging.