systool
Sysfs device information viewer
TLDR
SYNOPSIS
systool [options [device]]
DESCRIPTION
systool displays system device information from sysfs by bus, class, and topology. It provides a convenient interface to browse the `/sys/bus/`, `/sys/class/`, and `/sys/module/` hierarchies.Run without parameters, systool lists all available bus types, device classes, and root devices. Passing a device name after the options limits output to that single device. Available buses can be found in `/sys/bus/` and classes in `/sys/class/`; common buses include pci, usb, and scsi, and common classes include block, net, and drm.
PARAMETERS
-b bus
Show information for a specific bus (pci, usb, etc.).-c class
Show information for a specific class (block, net, drm, etc.).-m module
Show information for a specific module.-a
Show attributes of the requested resource.-v
Show all attributes with values.-A attribute
Show the value of a single named attribute for the requested resource.-d
Show only devices.-D
Show only drivers.-P
Show the device's parent.-p
Show the absolute sysfs path to the resource.-h
Show usage.
CAVEATS
Requires the sysfsutils package. Information comes from the kernel's sysfs interface. Some attributes may require root to read.
HISTORY
systool is part of the sysfsutils package, providing user-friendly access to the Linux sysfs virtual filesystem that exports kernel device information.
