Skip to content

Instantly share code, notes, and snippets.

@Kairi
Created September 26, 2016 06:34
Show Gist options
  • Select an option

  • Save Kairi/4134d33dc997c03137b39a9c3f19d417 to your computer and use it in GitHub Desktop.

Select an option

Save Kairi/4134d33dc997c03137b39a9c3f19d417 to your computer and use it in GitHub Desktop.
# reference CPU num
grep "^processor" /proc/cpuinfo | wc -l
@Kairi
Copy link
Author

Kairi commented Sep 26, 2016

get CPU num in linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment