Problem scenario
You want to know how many CPUs your Linux server has. What do you do?
Solution
Try these commands:
sudo cat /proc/cpuinfo
sudo lscpu
sudo nproc
sudo dmidecode -t
Cyberciti.biz was the source of the content of this article.
A Technical I.T./DevOps Blog
Problem scenario
You want to know how many CPUs your Linux server has. What do you do?
Solution
Try these commands:
sudo cat /proc/cpuinfo
sudo lscpu
sudo nproc
sudo dmidecode -t
Cyberciti.biz was the source of the content of this article.