forked from ibm-s390-linux/smc-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
smc.8
110 lines (91 loc) · 2.01 KB
/
smc.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.\" smc.8
.\"
.\"
.\" Copyright IBM Corp. 2020
.\" Author(s): Guvenc Gulce <[email protected]>
.\" ----------------------------------------------------------------------
.\"
.TH SMC 8 "June 2020" "smc-tools" "Linux Programmer's Manual"
.SH NAME
smc \- Print information about SMC linkgroups, links, devices
.SH SYNOPSIS
.B smc
.RI "[ " OPTIONS " ] " OBJECT " { " COMMAND " | "
.BR help " }"
.sp
.IR OBJECT " := { "
.BR device " | " info " | " linkgroup " | " stats " }"
.sp
.IR OPTIONS " := { "
\fB\-V\fR[\fIersion\fR] |
\fB\-a\fR[\fIbsolute\fR] |
\fB\-v\fR[\fIerbose\fR] |
\fB\-vv\fR[\fIerbose\fR]}
.SH OPTIONS
.TP
.BR "\-V" , " -Version"
Print the version of the
.B smc
utility and exit.
.TP
.BR "\-a", " \-absolute"
Print absolute statistic value (valid only for stats).
.TP
.BR "\-v", " \-verbose"
Print detailed information.
.TP
.BR "\-vv", " \-vverbose"
Print more detailed information.
.SH SMC - COMMAND SYNTAX
.SS
.I OBJECT
.B device
Device(s) as used by SMC
.TP
.B info
Generic SMC information
.TP
.B linkgroup
Linkgroup(s) or link(s) as used by SMC
.TP
.B stats
SMC statistics
.PP
The names of all objects can be abbreviated down to
a unique stem. For example,
.B device
can be abbreviated to
.B dev
or just
.B d.
Man pages in
.B SEE ALSO
section contain more
information for individual objects.
.SS
.I COMMAND
Specifies the action to perform on the object.
The set of possible actions depends on the object type.
As a rule, it is possible to
.BR " show " or " link-show"
objects, but some objects do not allow all of these operations. The
.B help
command is available for all objects. It prints
out a list of available commands and argument syntax conventions.
.sp
If no command is given, a default command
is assumed.
.SH RETURN CODES
Successful
.IR smc
commands return 0 and display the requested information.
If an error occurs,
.IR smc
writes a message to stderr and completes with a return code other than 0.
.P
.SH SEE ALSO
.BR af_smc (7),
.BR smc-device (8),
.BR smc-info (8),
.BR smc-linkgroup (8)
.BR smc-stats (8)