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!

 

7 Comments

 

  1. October 14, 2007  6:57 pm by polarizer Reply

    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

  2. October 17, 2007  7:43 am by artiomix Reply

    Hi Polarizer!



    Thanks for the tip, it's appreciated!

  3. July 6, 2010  5:52 am by Damon Krikwen Reply

    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.

  4. Pingback : Coriolanus: ‘Frankly shattering’ | jerlyons22

  5. March 30, 2012  7:26 pm by fruit mocking party Reply

    I'm not sure exactly why but this site is loading incredibly slow for me. Is anyone else having this problem or is it a problem on my end? I'll check back later on and see if the problem still exists.

  6. March 30, 2012  10:47 pm by fruit mocking party Reply

    Hi! Would you mind if I share your blog with my facebook group? There's a lot of people that I think would really enjoy your content. Please let me know. Many thanks

  7. April 23, 2012  10:05 am by valet parking Reply

    Thank you for another significant article. Where else could anyone get that type of information in this complete way with words? I've got a presentation incoming week, and I am on the lookout for similarly info.

Leave a reply

 

Your email address will not be published.