Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown    



HARDWARE INFO COMMANDS


Sure you need to know all about your hardware, and to help you find the info here are a few commands that will help you find your information needed:

$ 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 )


There you go, that should help you hunt down the specs.



Bruno



-- Oct 1 2007 --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown