TrumanWong

systool

Displays information about devices in the system based on buses, classes, and topology

Supplementary instructions

systool command This command displays information about devices in the system based on bus, class, and topology.

grammar

systool(options)(parameters)

Options

-a: Display the attributes of the requested resource;
-b<bus>: displays information about the specified bus;
-c<class>: Display information of the specified class;
-d: only display devices;
-h: Display the usage of the command;
-m<module name>: displays information about the specified module;
-p: Display the "sysfs" absolute path of the resource;
-v: display all attributes;
-A<attribute>: displays the attribute value of the requested resource;
-D: Only display driver information;
-P: Display the parent class of the device.

Parameters

Device: Specify the name of the device for which you want to view information.

Example

[root@localhost ~]# systool
Supported sysfs buses:
         acpi
         i2c
         ide
         pci_express
         pci
         pcmcia
         platform
         pnp
         scsi
         serio
         USB
Supported sysfs classes:
         backlight
         cpuid
         dma_v3
         firmware
         graphics
         hidraw
         hwmon
         i2c-adapter
         input
         leds
         mem
         misc
         msr
         net
         pci_bus
         pcmcia_socket
         printer
         raw
         sas_device
         sas_end_device
         sas_expander
         sas_host
         sas_phy
         sas_port
         scsi_device
         scsi_disk
         scsi_generic
         scsi_host
         sound
         tty
         usb_device
         usb_endpoint
         usb_host
         vc
         vtconsole
Supported sysfs devices:
         acpi
         pci0000:00
         platform
         pnp0
         sequencer2
         sequencer
         seq
         system
         timer
Supported sysfs modules:
         8250
         acpi_memhotplug
         ac
         asus_acpi
         ata_piix
         auth_rpcgss
         backlight
         battery
         button
         cifs
         cpufreq
         crypto_api
         dell_wmi
         dm_log
         dm_mem_cache
         dm_message
         dm_mirror
         dm_mod
         dm_multipath
         dm_raid45
         dm_region_hash
         dock
         e1000e
         edac_mc
         ehci_hcd
         exportfs
         ext3
         hwmon
         i2c_core
         i2c_ec
         i2c_i801
         i7core_edac
         i8042
         ip_conntrack_netbios_ns
         ip_conntrack
         ip_tables
         iptable_filter
         ipv6
         it821x
         jbd
         joydev
         keyboard
         libata
         locked
         lp
         md_mod
         mousedev
         mpt2sas
         nfnetlink
         nfs_acl
         nfsd
         nls_utf8
         ohci_hcd
         parport_pc
         parport
         pci_hotplug
         pcmcia
         pcmcia_core
         pcspkr
         pix
         power_meter
         printk
         processor
         psmouse
         rsrc_nonstatic
         sbs
         scsi_dh
         scsi_mod
         scsi_transport_sas
         sd_mod
         serio_raw
         sg
         shpchp
         snd_hda_intel
         snd_hwdep
         snd_mixer_oss
         snd_page_alloc
         snd_pcm_oss
         snd_pcm
         snd_seq_device
         snd_seq_dummy
         snd_seq_midi_event
         snd_seq_oss
         snd_seq
         snd_timer
         snd
         soundcore
         sunrpc
         tcp_bic
         tpm_bios
         tpm_tis
         tpm
         uhci_hcd
         usbcore
         usbhid
         video
         wmi
         x_tables
         xfrm_nalgo
         xt_limit
         xt_state
         xt_tcpudp
         yenta_socket