Sponsored Links

Maxabout.com > Tips

Hardware Info Commands

Added on:9/1/2008 10:34:41 PM
In Linux Tips
 Rated by 1 users

    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:
  1. $ dmesg ( debugging messages from kernel )

  2. # lshw > lshw.txt ( makes txt file with list of hardware in /home/user )

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

  4. $ lspci ( lists PCI devices, more elaborate with the -vv option )

  5. $ lspcidrake ( same as above but only in Mandriva and PCLos )

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

  7. # dmidecode ( the computer's DMI ( SMBIOS ) table in readable format )

  8. # lsusb ( lists USB devices, more elaborate with the -vv option )

  9. $ lshal ( lists all devices with their properties, "lshal --monitor" monitors the changes )

  10. $ cat /proc/devices ( list loaded hardware devices )

  11. $ cat /proc/dma ( what dma channels are used )

  12. $ cat /proc/interrupts ( what IRQs are used )

  13. $ cat /proc/ioports ( what I/O are used )

  14. $ cat /proc/meminfo ( info about memory use )

  15. $ cat /proc/modules ( loaded kernel modules )

  16. $ cat /proc/cpuinfo ( info about the processor )

  17. $ cat /proc/pci ( plugged in PCI devices )

  18. $ cat /proc/scsi/scsi ( SCSI devices )

  19. $ cat /proc/buddyinfo ( check memory fragmentation )


Sponsored Links
Tools
Bookmark/Discuss