How to find out the number of CPU cores on a Linux host. Use the command nproc.$ nproc nproc – print the number of processing units available: man page of nproc.Related posts:How to get the CPU temperatur in command linux on Linux? ld-linux.so Taking High CPU Usage Caused by Adobe Reader Managing Xen Dom0′s CPU and Memory How to limit a user’s CPU resources in Linux Systems How to set one task’s CPU affinity quickly? How to check CPU working frequency in iOS on iPhone? A Simple CPU and Memory Performance Test of Xen Dom0 and DomU How to make sort using multiple threads to run faster?