Saturday, August 14, 2010

Collecting Server Hardware Information in Linux

To Print Entire Hardware Information - dmidecode
To List PCI devices - lspci 
To List USB devices - lsusb
To Find CPU Information - cat /proc/cpuinfo
To Find Memory/RAM in Information,
    1. cat /proc/meminfo 
    2. free -m
To find Hard disk Information,
  • fdisk –l
  • df –h
  • vgdisplay
  • lvdisplay
To Know SWAP information,
   cat /proc/swaps
To detect Hardware Changes,
    service kudzu restart
To See Kernel Version, Architecture, OS Release Version, etc..
  • uname –a
  • cat /etc/redhat-release