Created
July 3, 2018 03:48
-
-
Save natsukium/f27c6544b87c15daed30f823366244cf to your computer and use it in GitHub Desktop.
nproc for macOS
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
#!/bin/sh | |
sysctl -n hw.ncpu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment