Monday, November 24, 2008

Check Hareware in Linux

Here're the commands:

For getting CPU, memory, paging, just "cat" the /proc files:
  • cat /proc/cpuinfo
  • cat /proc/meminfo
  • cat /proc/swaps
For getting "lower level" information such as PCI, USB:
  • lspci (list PCI)
  • lsusb (list USB devices)
  • lshw
More:
  • lsdev
  • dmidecode
  • biosdecode
  • vpddecode

No comments: