We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Recommending means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos!
Read full terms and conditions
In the last example you have hwloc as the command to run. You meant to have $ lstopo.
$ sudo apt-get install hwloc$ hwloc
Note a user space util designed to be used from shell scripts etc. available on most systems through GNU coreutils is nproc. This returns the number of _available_ processors in a cross platform way. For example:
make -j $(nproc)
No bogomips? it is the first thing I do read to compare CPUs