Skip to content

Instantly share code, notes, and snippets.

@sursir
Created April 22, 2019 07:41
Show Gist options
  • Save sursir/70af2ee2df5868e781b960e8e61f3826 to your computer and use it in GitHub Desktop.
Save sursir/70af2ee2df5868e781b960e8e61f3826 to your computer and use it in GitHub Desktop.
cpu count nproc processor unix
grep -c ^processor /proc/cpuinfo
nproc --all
getconf _NPROCESSORS_ONLN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment