snippetbashTip
systool — View system device information by bus, and classes. This command is part of the `sysfs` package. Mor
Viewed 0 times
buscommandsystoolcliinformationdeviceviewsystem
linux
Problem
How to use the
systool command: View system device information by bus, and classes. This command is part of the sysfs package. More information: <https://manned.org/systool>.Solution
systool — View system device information by bus, and classes. This command is part of the sysfs package. More information: <https://manned.org/systool>.List all attributes of devices of a bus (eg.
pci, usb). View all buses using ls /sys/bus:systool -b {{bus}} -vList all attributes of a class of devices (eg.
drm, block). View all classes using ls /sys/class:systool -c {{class}} -vShow only device drivers of a bus (eg.
pci, usb):systool -b {{bus}} -DCode Snippets
List all attributes of devices of a bus (eg. `pci`, `usb`). View all buses using `ls /sys/bus`
systool -b {{bus}} -vList all attributes of a class of devices (eg. `drm`, `block`). View all classes using `ls /sys/class`
systool -c {{class}} -vShow only device drivers of a bus (eg. `pci`, `usb`)
systool -b {{bus}} -DContext
tldr-pages: linux/systool
Revisions (0)
No revisions yet.