Here is one more way to find out how many CPUs are used by Linux:
cat /proc/cpuinfo | grep “^vendor_id” | wc -l
As for me I use this way to make sure that SMP kernel should be installed.
You’re welcome to suggest your ways of doing the same in comments. Thank you in advance!









While browsing your blog i found this one liner here with two pipes where not a single one is needed
grep -c ^vendor_id /proc/cpuinfo
Do you know the “useless use of cat” award[1] :O)
Nevertheless. Really useful resources here.
The polarizer
http://partmaps.org/era/unix/award.html
Hi Polarizer!
Thanks for the tip, it’s appreciated!