I wonder how to get how many cores (including emulated via HT and such) are avaliable to user via bash shell-script command?
grep ^processor /proc/cpuinfo | wc -l
grep -c ^processor /proc/cpuinfo
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago