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? How to make sort using multiple threads to run faster? How to check interrupts lively in your systems?