Last active
March 7, 2016 22:16
-
-
Save Mahdisadjadi/e1bbc25f802222af7124 to your computer and use it in GitHub Desktop.
Return the number of CPUs in the system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -c 'import multiprocessing as mp; print(mp.cpu_count())' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment