[kanchilug] Re: [Tip ]How to view the performance details of individual CPUs in the top command

  • From: "Tha.Suresh" <jemenisuresh@xxxxxxxxx>
  • To: KanchiLug <kanchilug@xxxxxxxxxxxxx>, ILUG-C <ilugc@xxxxxxxxxxxxx>
  • Date: Fri, 16 Jul 2010 09:59:17 +0530

2010/7/16 Tha.Suresh <jemenisuresh@xxxxxxxxx>:
> How to view the performance details of individual CPUs in the top command
>
> You can view the performance details of each CPUs of your machine in
> the top command by pressing 1 (number one) while the top command is
> running.one).
>
> $ top
>
> top - 09:50:17 up 16 min,  3 users,  load average: 0.11, 0.09, 0.08
> Tasks: 174 total,   1 running, 171 sleeping,   2 stopped,   0 zombie
> Cpu(s):  3.1%us,  2.8%sy,  0.0%ni, 94.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
> Mem:   2045828k total,  1117436k used,   928392k free,   118552k buffers
> Swap:  2000052k total,        0k used,  2000052k free,   418580k cached
>
> when i pressed '1' i got the details shown below.
>
> Tasks: 174 total,   1 running, 171 sleeping,   2 stopped,   0 zombie
> Cpu0  :  4.8%us,  4.0%sy,  0.0%ni, 91.2%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
> Cpu1  :  1.7%us,  2.7%sy,  0.0%ni, 95.6%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
> Mem:   2045828k total,  1120512k used,   925316k free,   118664k buffers
> Swap:  2000052k total,        0k used,  2000052k free,   422536k cached

The second shows data of individual CPUs.

>
> ***------------------------------------------------------------------------------------------------------***
>
> htop - This is an excellent substitute for top. This program is easier
>    to read, with better color coded output.
>
> sudo apt-get install htop
>
> ***-------------------------------------------------------------------------------------------------------***
>
> --
> Regards,
> Tha.Suresh
>
> Kanchi Linux User Group Rocks !!!!
> http://kanchilug.wordpress.com
>
> My experiences with Linux are here,
> http://thasulinux.wordpress.com
>



-- 
Regards,
Tha.Suresh

Kanchi Linux User Group Rocks !!!!
http://kanchilug.wordpress.com

My experiences with Linux are here,
http://thasulinux.wordpress.com

Other related posts: