Instantly share code, notes, and snippets.
cat /proc/cpuinfo | grep processor | wc -l
sysctl -n hw.ncpu