mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 03:42:12 +02:00

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
515 B
515 B
systool
View system device information by bus, and classes. This command is part of the
sysfs
package. More information: https://github.com/linux-ras/sysfsutils.
- List all attributes of devices of a bus (eg.
pci
,usb
). View all buses usingls /sys/bus
:
systool -b {{bus}} -v
- List all attributes of a class of devices (eg.
drm
,block
). View all classes usingls /sys/class
:
systool -c {{class}} -v
- Show only device drivers of a bus (eg.
pci
,usb
):
systool -b {{bus}} -D