Skip to content

Instantly share code, notes, and snippets.

@dgershman
Created November 12, 2012 18:18
Show Gist options
  • Save dgershman/4060956 to your computer and use it in GitHub Desktop.
Save dgershman/4060956 to your computer and use it in GitHub Desktop.
Count cores on Linux
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