Created
April 22, 2019 07:41
-
-
Save sursir/70af2ee2df5868e781b960e8e61f3826 to your computer and use it in GitHub Desktop.
cpu count nproc processor unix
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
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