Created
June 13, 2015 19:10
-
-
Save devendranaga/362eef39b5a11beb0b85 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/python | |
import psutil | |
print "num cpus " + str(psutil.cpu_count(logical=False)) | |
print "num cpu (total) " + str(psutil.cpu_count()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment