Sample Header Ad - 728x90

is there any tool to show hierarchy of devices in Linux?

3 votes
1 answer
2218 views
I want to see a tree-like structure of all devices in Linux. In Windows, I can use Device Manager with "show by connection". BSD systems report such data to dmesg in format "child at parent" and have utilities such as devinfo , so it is easy to understand relations between devices. In Linux this information is stored in `/sys`, but its format is not user friendly. I can query each bus with `lspci, lsusb, lsscsi etc, but is there something I can use to recreate full device hierarchy? lshw` shows bus information but not devices.
Asked by user996142 (702 rep)
Feb 21, 2019, 10:54 PM
Last activity: Nov 26, 2024, 06:20 AM