How many physical cpu install
# cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l
2
# cat /proc/cpuinfo| grep "cpu cores"| uniq
cpu cores : 2
# cat /proc/cpuinfo| grep "cpu cores"| uniq | awk {'print $4'}
2
Total CPU logical core
# cat /proc/cpuinfo| grep "processor"| wc -l
4
CPU model
#cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
4 Intel(R) Xeon(R) Platinum 8170 CPU @ 2.10GHz
# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c | awk {'print $5'}
8170
CPU code name
#cat /sys/devices/cpu/caps/pmu_name
Skylake , Haswell
CPU TDP (Need PTU linux tool)
./ptumon -s | grep -i "package tdp" | awk {'print$4'}
CPU turbo frequency
#dmidecode | grep -I "max speed" | tr -d "\n" | awk {'print$3'}
#dmidecode | grep -I "max speed" | tr -d "\n" | awk {'print$3'}
memory brand:
#dmidecode -t memory | grep -i manufacturer | tr -d "\n" | awk {'print$2'}
memory model
#dmidecode -t memory | grep -i part | tr -d "\n" | awk {'print$3'}
memory single size
#dmidecode -t memory | grep -i size | tr -d "\n" | awk {'print$2'}
memory speed
#dmidecode -t memory | grep -i speed | tr -d "\n" | awk {'print$2'}
memory type & speed
# lshw | grep -i *-bank:0 -A 2 | sed '2!d' | awk {'print$3"-"$5'}
DDR4-2666
memory total size
#lshw -class memory | grep -i "system memory" -A 5 | sed '4!d' | awk {'print$2'}
memory slots
#midecode -t memory | grep -i part | wc -l
Disk model
#lsblk --nodeps -o model | sed '2!d'
Detail disk information
#smart -a /dev/yourdrive
Disk IO performance
#iostat -m
PCIE card
# lspci | grep -i ethernet ; lspci | grep -i raid ; lspci | grep -i vga
Disk model
#lsblk --nodeps -o model | sed '2!d'
Detail disk information
#smart -a /dev/yourdrive
Disk IO performance
#iostat -m
PCIE card
# lspci | grep -i ethernet ; lspci | grep -i raid ; lspci | grep -i vga