Usage: /usr/bin/saquery [options] [query-name] [ | | ] Supported query names (and aliases): ClassPortInfo (CPI) NodeRecord (NR) [lid] PortInfoRecord (PIR) [[lid]/[port]/[options]] SL2VLTableRecord (SL2VL) [[lid]/[in_port]/[out_port]] PKeyTableRecord (PKTR) [[lid]/[port]/[block]] VLArbitrationTableRecord (VLAR) [[lid]/[port]/[block]] InformInfoRecord (IIR) [subscriber_gid] LinkRecord (LR) [[from_lid]/[from_port]] [[to_lid]/[to_port]] ServiceRecord (SR) PathRecord (PR) MCMemberRecord (MCMR) LFTRecord (LFTR) [[lid]/[block]] MFTRecord (MFTR) [[mlid]/[position]/[block]] GUIDInfoRecord (GIR) [[lid]/[block]] SwitchInfoRecord (SWIR) [lid] SMInfoRecord (SMIR) [lid] Queries node records by default. Options: --p, -p get PathRecord info --N, -N get NodeRecord info --L, -L return the Lids of the name specified --l, -l return the unique Lid of the name specified --G, -G return the Guids of the name specified --O, -O return name for the Lid specified --U, -U return name for the Guid specified --s, -s return the PortInfoRecords with isSM or isSMdisabled capability mask bit on --g, -g get multicast group info --m, -m get multicast member info (if multicast group specified, list member GIDs only for group specified, for example 'saquery -m 0xC000') --x, -x get LinkRecord info --c, -c get the SA's class port info --S, -S get ServiceRecord info --I, -I get InformInfoRecord (subscription) info --list, -D the node desc of the CA's --src-to-dst get a PathRecord for where src and dst are either node names or LIDs --sgid-to-dgid get a PathRecord for where sgid and dgid are addresses in IPv6 format --node-name-map specify a node name map file --smkey SA SM_Key value for the query. If non-numeric value (like 'x') is specified then saquery will prompt for a value. Default (when not specified here or in ibdiag.conf) is to use SM_Key == 0 (or "untrusted") --slid Source LID (PathRecord) --dlid Destination LID (PathRecord) --mlid Multicast LID (MCMemberRecord) --sgid Source GID (IPv6 format) (PathRecord) --dgid Destination GID (IPv6 format) (PathRecord) --gid Port GID (MCMemberRecord) --mgid Multicast GID (MCMemberRecord) --reversible, -r Reversible path (PathRecord) --numb_path, -n Number of paths (PathRecord) --pkey P_Key (PathRecord, MCMemberRecord). If non-numeric value (like 'x') is specified then saquery will prompt for a value --qos_class, -Q QoS Class (PathRecord) --sl Service level (PathRecord, MCMemberRecord) --mtu, -M MTU and selector (PathRecord, MCMemberRecord) --rate, -R Rate and selector (PathRecord, MCMemberRecord) --pkt_lifetime Packet lifetime and selector (PathRecord, MCMemberRecord) --qkey, -q Q_Key (MCMemberRecord). If non-numeric value (like 'x') is specified then saquery will prompt for a value --tclass, -T Traffic Class (PathRecord, MCMemberRecord) --flow_label, -F Flow Label (PathRecord, MCMemberRecord) --hop_limit, -H Hop limit (PathRecord, MCMemberRecord) --scope Scope (MCMemberRecord) --join_state, -J Join state (MCMemberRecord) --proxy_join, -X Proxy join (MCMemberRecord) --service_id ServiceID (PathRecord) --config, -z use config file, default: /etc/infiniband-diags/ibdiag.conf --Ca, -C Ca name to use --Port, -P Ca port number to use --timeout, -t timeout in ms --show_keys, -K display security keys in output --pkey-idx, -Y P_Key table index for outgoing SA/GMP MADs (default 0) --errors, -e show send and receive errors --verbose, -v increase verbosity level --debug, -d raise debug level --help, -h help message --version, -V show version