View Linux hardware information

1  More / proc / cpuinfo cpu # View information
 2  CAT / proc / cpuinfo | grep name | Cut -f2 -d: | uniq - c # to view the cpu type and the number of logical cores
 3  getconf LONG_BIT # cpu running digit
 4  CAT / proc / cpuinfo | grep pHYSICAL | the uniq - number c # physical CPU
 . 5  CAT / proc / cpuinfo | grep the flags | grep  ' LM ' | WC - L # 64-bit result is greater than 0
 6 CAT / proc / cpuinfo | grep flags # see if the cpu virtualization pae support paravirtualization IntelVT support full virtualisation
 7  More / proc / meminfo # view memory info
 8  dmidecode # View full hardware information
 9 dmidecode | grep  " Product the Name "                           viewing server model #
 10 dmidecode | grep -P -A5 " memory \ S + Device " | grep Size | grep - v memory slot to view the Range #
 11  CAT / proc /mdstat # View soft raid information
 12  CAT / proc / scsi / scsi # View Dell hard raid information (IBM, HP requires official inspection tools)
 13  lspci view hardware information #
 14 lspci | grep RAID # View supports raid
 15 lspci -vvv | grep Ethernet NIC model View #
 16 lspci -vvv | grep Kernel | grep driver # View drive module
 17  modinfo TG2 # View drive version (drive module)
 18 ethtool -i em1 # View network card driver version

 

Guess you like

Origin www.cnblogs.com/alog9/p/11532235.html