Tag Archives: cpuinfo

How to get number of cores on your Linux Box

cat /proc/cpuinfo | grep “model name” | wc -l example output: 24 This means that you have 24 cores on your server.

Posted in Linux | Tagged , , , , , , , | Leave a comment

How to get CPU Info of a Linux Machine

This worked with me in Redhat and Ubuntu-based distros: “less /proc/cpuinfo” you can get the number of processors easily if you don’t want to read a lot of text: “less /proc/cpuinfo¬†| grep processor”processor : 0processor : 1processor : 2processor : … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment