systool: add page (#13096)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/28/head
Sohang Chopra 2024-06-21 17:40:15 +05:30 committed by GitHub
parent 0a0fc04b2e
commit 84418d3ced
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 0 deletions

17
pages/linux/systool.md Normal file
View File

@ -0,0 +1,17 @@
# 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 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`