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.

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , , , , , , , . Bookmark the permalink.

Leave a comment