Skip to content

Instantly share code, notes, and snippets.

@davidcsejtei
Created February 7, 2023 21:02
Show Gist options
  • Save davidcsejtei/e43056dd2bd79b8ed0849d18f8921846 to your computer and use it in GitHub Desktop.
Save davidcsejtei/e43056dd2bd79b8ed0849d18f8921846 to your computer and use it in GitHub Desktop.
Get Mac number of CPU cores
sysctl -n hw.ncpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment