To get the total number of CPU Threads in CentOS use One of the following Commands :
# grep -i processor /proc/cpuinfo | wc -l
OR
cat /proc/cpuinfo | grep -i ‘processor’ | wc -l
To get the total number of CPU Threads in CentOS use One of the following Commands :
# grep -i processor /proc/cpuinfo | wc -l
OR
cat /proc/cpuinfo | grep -i ‘processor’ | wc -l