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

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

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

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:

(Click to enlarge image)

🐧 Please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
13 comments… add one
  • jo Jun 3, 2013 @ 11:04

    How about top and then 1 – lists the cpus

  • Vikram Kamath Oct 31, 2012 @ 14:32


  • Vikram Sep 10, 2010 @ 0:35

    First off, thanks a lot for this useful website – extremely helpful info, commands, tips and tricks.
    I discovered, disappointedly though, that the %CPU column is “The percentage of a single CPU usage by the thread/process”. Now, to calculate the average CPU consumption, we need to divide this value by the number of CPUs. Is there a flag or option in “top” to make it show the average CPU consumption across all CPUs? I presume most people look at the column value and usually respond in alarm when a 2 processor machine or 2 core server is running at 100% whereas it is truly only consuming 50% of CPUs.

    • Pablo F. Carloni Feb 3, 2011 @ 16:46


      The command to switch to total CPU consumption with top running in interactive mode (the usual mode) is ‘I’.
      You might enter ‘I’ you will see the difference.

  • Uday Jan 22, 2010 @ 7:06

    Hi, nice info. But the thing is, i want this output in the batch mode.
    top -n1 b

    So how do i get all cpu in this mode? Till now i’ve been quite unsuccessful.
    Basically i’ve written a script to capture the TOP output for techsupport. So there, interactive mode is not usefull.

  • kangu Jan 19, 2010 @ 18:51

    Thanks this was really very helpful! thanks

  • some guy Jul 14, 2009 @ 15:58

    I looked all over for the command to display all CPU’s at once and finally found it,

    Im running 2 quad core processors and 64g of ram on a workstation, so I wanted to veryify both quadcores were working as they should be

  • whocarez Sep 24, 2008 @ 9:31

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

  • justin Aug 14, 2008 @ 3:43

    It’s useful for me.


  • Praveen Kannan Jun 17, 2008 @ 1:14

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

  • Javantea Oct 3, 2007 @ 17:55

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

  • Sonali May 21, 2007 @ 12:14


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

  • Arun Sep 20, 2006 @ 13:10

    Useful tips. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @