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:
![]()
(Click to enlarge image)
- Email this to a friend
- Printable version
- Rss Feed
- Last Updated: Sep/20/2006
{ 6 comments… read them below or add one }
Useful tips. Thanks.
Vivek,
It’s a very usefull link for me, thanks!
Useful information. I didn’t see that you say to press the number 1 until I looked a second time. Thanks.
I tried grep -i core /proc/cpuinfo
the system didnt output anything
It just accepted the command without prompting an error.
It’s useful for me.
Thanks.
Thanks. Googled for it and this is just what I needed.