Skip to content

Instantly share code, notes, and snippets.

@natsukium
Created July 3, 2018 03:48
Show Gist options
  • Save natsukium/f27c6544b87c15daed30f823366244cf to your computer and use it in GitHub Desktop.
Save natsukium/f27c6544b87c15daed30f823366244cf to your computer and use it in GitHub Desktop.
nproc for macOS
#!/bin/sh
sysctl -n hw.ncpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment