1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 02:35:23 +02:00
tldr/pages/linux/systool.md
Managor 79b8d3e3b8
*: replace … with individual dots and refresh pages (#16368)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-04 10:20:26 +03:00

502 B

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}} -v

  • List all attributes of a class of devices (eg. drm, block). View all classes using ls /sys/class:

systool -c {{class}} -v

  • Show only device drivers of a bus (eg. pci, usb):

systool -b {{bus}} -D