ubuntu:cpu:display_the_number_of_processors
This is an old revision of the document!
Ubuntu - CPU - Display the number of processors
To display the number of CPUs.
cat /proc/cpuinfo | grep processor | wc -l
/proc/cpuinfo contains all of the processor information for all current processors in the system. This will include the speed, and the amount of on-chip cache, processor architecture type, and the number of cores.
ubuntu/cpu/display_the_number_of_processors.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1