Determining Core Usage on Linux Platforms

To determine how many cores you have available on Linux platforms, use /proc/cpuinfo or to retrieve a count on logical processors use the following command:

grep "^processor" /proc/cpuinfo | wc -l 

To retrieve a count of physical cores use the following command:

grep "cpu cores" /proc/cpuinfo | uniq