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

Re: %cpu differences between sar and top



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 gmail com>

> 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 gmail com> wrote:
>
> Hi Adam,
>
> I have one cpu with two cores.
>
> Greetings,
>
> ESG
>
> 2009/11/25 Adam Miller <maxamillion gmail com>
>
> > 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 redhat com?subjectunsubscribe > ...
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

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