Tags

, , , , , , , , ,

The information about the CPU  is stored in /proc/cpuinfo. The following command will show you the number of processors by reading that file:

$ grep processor /proc/cpuinfo | wc -l

A simple
$ grep -c processor /proc/cpuinfo
should also be enough!

Advertisements