• Cody Bonney
  • June 25, 2015
linux

Displaying the number of CPU Cores on Linux

In several versions of Linux (Debian, CentOS, RHEL, etc) you can use the nproc command to find the number of processing units available on the machine.

$ nproc
4

more Linux posts

linux Importing an OpenVPN configuration file into Network Manager
linux Change default timeouts for starting and stopping systemd units