One more way to count CPUs in Linux

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!

 
 
» You might also be interested in the following articles:
Set up mount count after system will be checked by e2fsck
Manage gzip files on-the-fly (zcommands)
FAQ: How to retreive hardware manufacturer name, serial numbers, etc. in Linux command line
Install Windows after Ubuntu Lucid Lynx
16 GB encrypted candy file



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

0 Responses to “One more way to count CPUs in Linux”


  1. No Comments

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
GeekyBits³ | Bash Cures Cancer | OMG! Ubuntu!
My SysAd Blog | Web Upd8
ZEPY | Linux config Wiki | Planet Sysadmin
a non-geek's linux notes | Linux Today
TuxArena: The arena of Tux | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››