View Linux server hardware configuration

View CPU configuration

$lscpu

$cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

 

 View memory configuration

$free -h

 

Check the hard disk size

fdisk the -l $ | grep Disk 
$ lspci -v -s 00: 02.0 (input card number, details of a graphics card)

lsblk $ 
$ CAT / SYS / Block / disk name / queue / rotational query whether solid

Returns 0: SSD disk
Returns 1: SATA disk

 

View graphics configuration

$ Lspci | grep -i vga graphics View all

 

 

Guess you like

Origin www.cnblogs.com/scholars-xian/p/11984638.html