Skip to content

Commit

Permalink
systool: add page (#13096)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastiaan Speck <[email protected]>
Co-authored-by: K.B.Dharun Krishna <[email protected]>
  • Loading branch information
3 people authored Jun 21, 2024
1 parent 0a0fc04 commit 84418d3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pages/linux/systool.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 84418d3

Please sign in to comment.