Re: %cpu differences between sar and top

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adam,

I have done what you say with the 1 key but I think that is not the
problem,
with the command:

sar  -P ALL
it shows me the cpu of the cores independently and it never gets a 99% of
cpu in the cores but with top it does:

How do you interpret this from the top man page?:

*%CPU --* CPU usageThe task's share of the elapsed CPU time since the last
screen update, expressed as a percentage of total CPU time. In a true SMP
environment, if 'Irix mode' is *Off*, top will operate in 'Solaris mode'
where a task's cpu usage will be divided by the total number of CPUs. You
toggle 'Irix/Solaris' modes with the 'I' interactive command.

BTW, I think that in Solaris mode the cpu is the average cpu that shows top
in the header,

Greetings

ESG

2009/11/26 Adam Miller <maxamillion@xxxxxxxxx>

> When you run top, hit the '1' key on your keyboard and it will show each
> core separately. I assume its summary view is what appears as inconsistent.
>
> -Adam (From Android - CM)
>
> On Nov 26, 2009 2:39 AM, "ESGLinux" <esggrupos@xxxxxxxxx> wrote:
>
> Hi Adam,
>
> I have one cpu with two cores.
>
> Greetings,
>
> ESG
>
> 2009/11/25 Adam Miller <maxamillion@xxxxxxxxx>
>
> > How many processors or cores does the machine have? > > -Adam (From
> Android - CM) > > On Nov 25, ...
> > --
>
> > redhat-list mailing list > unsubscribe mailto:
> redhat-list-request@xxxxxxxxxx?subjectunsubscribe > ...
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux