Wednesday, February 15, 2017

Check CPU Details of any Linux server

Check CPU Details of any Linux server


 Use below command to check the CPU details of any linux server

show all cores (virtual)
grep -c processor /proc/cpuinfo
64

show physical cpu
grep 'physical id' /proc/cpuinfo | sort -u | wc -l
4

show physical core per cpu
grep 'cpu cores' /proc/cpuinfo | tail -1
cpu cores    : 8



so the final result is 
physical cpu: 4
physical core per physical cpu: 8
whole physical core: 32
whole virtual core: 64

No comments:

Post a Comment