User Manual

Table Of Contents
InfiniBand FabricRev 4.3
Mellanox Technologies
105
7.4.19.1 saquery Synopsis
7.4.19.2 saquery Options
saquery [-h] [-d] [-p] [-N] [--list | -D] [-S] [-I] [-L] [-l] [-G] [-O]
[-U] [-c] [-s] [-g] [-m] [-x] [-C ca_name] [-P ca_port][--smkey
val]
[-t(imeout) <msec>] [--src-to-dst <src:dst>] [--sgid-to-dgid
<sgid-dgid>] [--node-name-map <node-name-map>] [<name> | <lid>
|
<guid>]
Table 36 - saquery Flags and Options
Flags Description
-p Gets PathRecord info.
-N Gets NodeRecord info.
--list | -D Gets NodeDescriptions of CAs only.
-S Gets ServiceRecord info.
-I Gets InformInfoRecord (subscription) info.
-L Returns the Lids of the name specified
-l Returns the unique Lid of the name speci-
fied
-G Returns the Guids of the name specified
-O Returns the name for the Lid specified
-U Returns the name for the Guid specified
-C Gets the SAs class port info
-s Returns the PortInfoRecords with isSM or
isSMdisabled capability mask bit on.
-g Gets multicast group info
-m Gets multicast member info. If a group is
specified, limit the output to the group
specified and print one line containing only
the GUID and node description for each
entry.
Example:
saquery -m 0xc000
-x Gets LinkRecord info.
--src-to-dst Gets a PathRecord for <src:dst> where src
and dst are either node names or LIDs.
--sgid-to-dgid Gets a PathRecord for sgid to dgid where
both GIDs are in an IPv6 format acceptable
to inet_pton(3).