]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ofed/management/infiniband-diags/man/sminfo.8
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ofed / management / infiniband-diags / man / sminfo.8
1 .TH SMINFO 8 "July 25, 2006" "OpenIB" "OpenIB Diagnostics"
2
3 .SH NAME
4 sminfo \- query InfiniBand SMInfo attribute
5
6 .SH SYNOPSIS
7 .B sminfo
8 [\-d(ebug)] [\-e(rr_show)] -s state -p prio -a activity [\-D(irect)] [\-G(uid)]  [\-C ca_name] [\-P ca_port] [\-t(imeout) timeout_ms] [\-V(ersion)] [\-h(elp)] sm_lid | sm_dr_path [modifier]
9
10 .SH DESCRIPTION
11 .PP
12 Optionally set and display the output of a sminfo query in human readable
13 format. The target SM is the one listed in the local port info, or the SM
14 specified by the optional SM lid or by the SM direct routed path.
15 .PP
16 Note: using sminfo for any purposes other then simple query may be very
17 dangerous, and may result in a malfunction of the target SM.
18
19 .SH OPTIONS
20
21 .PP
22 .TP
23 \fB\-s\fR
24 set SM state
25  0 - not active
26  1 - discovering
27  2 - standby
28  3 - master
29 .TP
30 \fB\-p\fR
31 set priority (0-15)
32 .TP
33 \fB\-a\fR
34 set activity count
35
36 .SH COMMON OPTIONS
37
38 Most OpenIB diagnostics take the following common flags. The exact list of
39 supported flags per utility can be found in the usage message and can be shown
40 using the util_name -h syntax.
41
42 # Debugging flags
43 .PP
44 \-d      raise the IB debugging level.
45         May be used several times (-ddd or -d -d -d).
46 .PP
47 \-e      show send and receive errors (timeouts and others)
48 .PP
49 \-h      show the usage message
50 .PP
51 \-v      increase the application verbosity level.
52         May be used several times (-vv or -v -v -v)
53 .PP
54 \-V      show the version info.
55
56 # Addressing flags
57 .PP
58 \-D      use directed path address arguments. The path
59         is a comma separated list of out ports.
60         Examples:
61         "0"             # self port
62         "0,1,2,1,4"     # out via port 1, then 2, ...
63 .PP
64 \-G      use GUID address argument. In most cases, it is the Port GUID.
65         Example:
66         "0x08f1040023"
67 .PP
68 \-s <smlid>      use 'smlid' as the target lid for SM/SA queries.
69
70 # Other common flags:
71 .PP
72 \-C <ca_name>    use the specified ca_name.
73 .PP
74 \-P <ca_port>    use the specified ca_port.
75 .PP
76 \-t <timeout_ms> override the default timeout for the solicited mads.
77
78 Multiple CA/Multiple Port Support
79
80 When no IB device or port is specified, the port to use is selected
81 by the following criteria:
82 .PP
83 1. the first port that is ACTIVE.
84 .PP
85 2. if not found, the first port that is UP (physical link up).
86
87 If a port and/or CA name is specified, the user request is
88 attempted to be fulfilled, and will fail if it is not possible.
89
90 .SH EXAMPLES
91
92 .PP
93 sminfo                  # local port\'s sminfo
94 .PP
95 sminfo 32               # show sminfo of lid 32
96 .PP
97 sminfo  -G 0x8f1040023  # same but using guid address
98
99 .SH SEE ALSO
100 .BR smpdump (8)
101
102 .SH AUTHOR
103 .TP
104 Hal Rosenstock
105 .RI < halr@voltaire.com >