cpu:display_the_number_of_processors
This is an old revision of the document!
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.
cpu/display_the_number_of_processors.1479483270.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)