Skip to content

Instantly share code, notes, and snippets.

@martinrusev
Created October 4, 2011 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinrusev/1262935 to your computer and use it in GitHub Desktop.
Save martinrusev/1262935 to your computer and use it in GitHub Desktop.
Unix - get number of processors
cat /proc/cpuinfo | grep processor | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment