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!
Each article I have read is well written and to the point. I would also like to say, not only are the articles well written, but the design of your web-site is excellent. I was able to navigate from post to post and locate what I was looking for with ease. Keep up the excellent work you are doing, and I will be back many times in the future.