1SMCR(8) Linux Programmer's Manual SMCR(8)
2
3
4
6 smcr - Print information about SMC-R linkgroups, links, devices
7
8
10 smcr [ OPTIONS ] OBJECT { COMMAND | help }
11
12
13 OBJECT := { info | linkgroup | device | stats }
14
15
16 OPTIONS := { -v[ersion] | -a[bsolute] | -d[etails] | -dd[etails] }
17
18
20 -v, -version
21 Print the version of the smcr utility and exit.
22
23
24 -a, -absolute
25 Print absolute statistic value (valid only for stats).
26
27
28 -d, -details
29 Print detailed information.
30
31
32 -dd, -ddetails
33 Print more detailed information.
34
35
37 OBJECT
38 device One or more SMC-R devices.
39
40
41 info Generic SMC information.
42
43
44 linkgroup
45 Linkgroup(s) or link(s) used by SMC-R.
46
47
48 stats SMC-R statistics.
49
50
51 The names of all objects can be abbreviated down to a unique stem. For
52 example device can be abbreviated to dev or just d. Man pages in SEE
53 ALSO section contain more information for individual objects.
54
55
56 COMMAND
57 Specifies the action to perform on the object. The set of possible ac‐
58 tions depends on the object type. As a general rule, it is possible to
59 show or link-show objects, but some objects do not allow all of these
60 operations. The help command is available for all objects. It prints
61 out a list of available commands and argument syntax conventions.
62
63 If no command is given, a default command is assumed.
64
65
67 Successful smcr command returns 0 and displays the requested linkgroup,
68 link or device information. If an error occurs, smcr writes a message
69 to stderr and completes with a return code other than 0. Possible error
70 messages to stderr in case of non-zero return code:
71
72 SMC module not loaded
73 Either kernel is not supporting the smcr tool or the smc kernel
74 module is not loaded.
75
77 af_smc(7), smcd(8), smcr(8), smcr-device(8), smcr-info(8), smcr-
78 linkgroup(8) smcr-stats(8)
79
80
81
82smc-tools June 2020 SMCR(8)