opa_osd_query (1) - Linux Man Pages

NAME

opa_osd_query

Queries the opasadb for path records. This tool allows you to create an arbitrary path query and view the result.

Syntax

opa_osd_query [ options]

Options

All arguments are optional, but ill-formed queries can be expected to fail. You must provide at least a pair of LIDs or a pair of GIDs.

If you have multiple HFIs, the same LID can appear on more than one HFI, therefore you must specify which HFI to use when searching by LIDs.

Numbers can be in decimal, hex, or octal.


 options 
Options. Values include:

-v/--verbose arg Sets debugging level. Range = 1 - 7.

-s/--slid arg Specifies source LID.

-d/--dlid arg Specifies destination LID.

-S/--sgid arg Specifies source GID in GID format (0x00000000:0x00000000) or in Inet6 format (x:x:x:x:x:x:x:x).

-D/--dgid arg Specifies destination GID in GID format (0x00000000:0x00000000) or in Inet6 format (x:x:x:x:x:x:x:x).

-k/--pkey arg Specifies partition key.

-i/--sid arg Specifies service ID.

-h/--hfi arg Specifies the HFI to use. Default = first HFI. The HFI can be identified by name, for example, mthfi0 or by number, for example, 1.

-p/--port arg Specifies the port to use. Default = first port.

-H/--help Provides this help text.

Example

opa_osd_query -s2 -d4