-
Notifications
You must be signed in to change notification settings - Fork 16
/
systool.1
77 lines (72 loc) · 1.49 KB
/
systool.1
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
.TH SYSTOOL 1 "2019-11-16" "sysfsutils"
.SH NAME
systool \- view system device information by bus, class, and topology
.SH SYNOPSIS
.B systool
[\fIoptions\fP [\fIdevice\fP]]
.SH DESCRIPTION
Calling
.B systool
without parameters will present all available bus types, device
classes, and root devices.
.P
When
.I device
is supplied, the information requested by
.I options
is shown only for the specified device, otherwise all present devices
are displayed.
.P
.B systool
uses APIs provided by
.B libsysfs
to gather information.
.B systool
runs only on Linux systems running kernels 2.5 or later, with the sysfs
filesystem mounted.
.SH OPTIONS
.TP
.B \-a
Show attributes of the requested resource.
.TP
.B \-b \fIbus\fP
Show information for a specific bus.
.TP
.B \-c \fIclass\fP
Show information for a specific class.
.TP
.B \-d
Show only devices.
.TP
.B \-h
Show usage.
.TP
.B \-m \fImodule_name\fP
Show information for a specific module.
.TP
.B \-p
Show absolute sysfs path to the resource.
.TP
.B \-v
Show all attributes with values.
.TP
.B \-A \fIattribute\fP
Show attribute value for the requested resource.
.TP
.B \-D
Show only drivers.
.TP
.B \-P
Show device's parent.
.SH SEE ALSO
.P
The web page of
.B libsysfs
at <http://linux\-diag.sourceforge.net/Sysfsutils.html>.
.SH AUTHOR
.B systool
was written by Ananth Mavinakayanahalli <[email protected]> and
Daniel Stekloff <[email protected]>.
.P
This man page was contributed by Martin Pitt <[email protected]> for
the Debian system (but may be used by others).