Hardware info commands

by Sanju 2012-07-06 11:34:20

Hardware info commands

$ dmesg - debugging messages from kernel

# lshw > lshw.txt - makes txt file with list of hardware in /home/user

# lshw -html >lshw.html - same as above in a nice html file

$ lspci - lists PCI devices, more elaborate with the -vv option

$ lspcidrake - same as above but only in Mandriva and PCLos

# scanpci - to scan PCI buses and report information about the configuration space settings for each PCI device.)

# dmidecode - the computer's DMI - SMBIOS table in readable format

# lsusb - lists USB devices, more elaborate with the -vv option

$ lshal - lists all devices with their properties, "lshal --monitor" monitors the changes

$ cat /proc/devices - list loaded hardware devices

$ cat /proc/dma - what dma channels are used

$ cat /proc/interrupts - what IRQs are used

$ cat /proc/ioports - what I/O are used

$ cat /proc/meminfo - info about memory use

$ cat /proc/modules - loaded kernel modules

$ cat /proc/cpuinfo - info about the processor

$ cat /proc/pci - plugged in PCI devices

$ cat /proc/scsi/scsi - SCSI devices

$ cat /proc/buddyinfo - check memory fragmentation
977
like
0
dislike
0
mail
flag

You must LOGIN to add comments