About nixCraft

Topics

Linux: How to see dual Core AMD or Intel CPU statistics

Posted by Vivek Gite [Last updated: September 20, 2006]

Many new Linux sysadmin do not have idea about how to see dual core CPU (AMD or Intel D processor) statistics. You need to use following commands to see dual core stats.

The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of tasks currently being managed by the Linux kernel. The types of system summary information shown and the types, order and size of information displayed for tasks are all user configurable and that configuration can be made persistent across restarts.

Task: Verify that you have dual core cpu

$ grep -i core /proc/cpuinfo
Output:

model name      : Dual Core AMD Opteron(tm) Processor 170
core id         : 0
cpu cores       : 2
model name      : Dual Core AMD Opteron(tm) Processor 170
core id         : 1
cpu cores       : 2

Task: Verify that you are running Linux smp kernel

$ uname -r
2.6.9-42.0.2.ELsmp

Task: See dual core CPU statistics using top command

Type top command:
$ top

Now you will see top but with core only. To enable or display stats press the number 1 and you should see individual CPU core stats:
Linux top command dual core stats
(Click to enlarge image)

E-mail this to a friend      Printable version

You may also be interested in other helpful articles:

Discussion on This Article:

  1. Arun Says:

    Useful tips. Thanks.

  2. Sonali Says:

    Vivek,

    It’s a very usefull link for me, thanks!

  3. Javantea Says:

    Useful information. I didn’t see that you say to press the number 1 until I looked a second time. Thanks.

  4. Praveen Kannan Says:

    I tried grep -i core /proc/cpuinfo
    the system didnt output anything
    It just accepted the command without prompting an error.

  5. justin Says:

    It’s useful for me.

    Thanks.

  6. whocarez Says:

    Thanks. Googled for it and this is just what I needed.

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.