* [ECOS] Cpu utilization
@ 2008-04-27 16:26 Shilpa
2008-04-28 7:34 ` [ECOS] " Grant Edwards
2008-04-28 8:49 ` [ECOS] " Andrew Lunn
0 siblings, 2 replies; 6+ messages in thread
From: Shilpa @ 2008-04-27 16:26 UTC (permalink / raw)
To: ecos-discuss
Hi all
I am looking for how to calculate the CPU utilization in the switch. Iam
using ECOS and the processor is MPC8245. I kindly request you to guide me
in calculation.
Thank you in advance
Regards
Shilpa
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] Re: Cpu utilization
2008-04-27 16:26 [ECOS] Cpu utilization Shilpa
@ 2008-04-28 7:34 ` Grant Edwards
2008-04-28 8:49 ` [ECOS] " Andrew Lunn
1 sibling, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2008-04-28 7:34 UTC (permalink / raw)
To: ecos-discuss
On 2008-04-26, Shilpa <shilpa@garrettcom.com> wrote:
> Hi all
>
> I am looking for how to calculate the CPU utilization in the switch. Iam
> using ECOS and the processor is MPC8245. I kindly request you to guide me
> in calculation.
The usual method is to increment a counter in a loop in the
idle task. Look at the timer delta for a fixed period of time
(1 second, 10 seconds, etc.). CPU utilization is roughly
proportional to the inverse of that delta value.
--
Grant Edwards grante Yow! Yow! I just went
at below the poverty line!
visi.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Cpu utilization
2008-04-27 16:26 [ECOS] Cpu utilization Shilpa
2008-04-28 7:34 ` [ECOS] " Grant Edwards
@ 2008-04-28 8:49 ` Andrew Lunn
[not found] ` <ANEIIDMJJAHCEKBLDEMEKEJHCAAA.shilpa@garrettcom.com>
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Lunn @ 2008-04-28 8:49 UTC (permalink / raw)
To: Shilpa; +Cc: ecos-discuss
On Fri, Apr 25, 2008 at 05:18:53PM -0700, Shilpa wrote:
> Hi all
>
> I am looking for how to calculate the CPU utilization in the switch. Iam
> using ECOS and the processor is MPC8245. I kindly request you to guide me
> in calculation.
Take a look at the cpuload package. packages/services/cpuload/current
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ECOS] Cpu utilization
[not found] ` <ANEIIDMJJAHCEKBLDEMEKEJHCAAA.shilpa@garrettcom.com>
@ 2008-04-29 20:46 ` Andrew Lunn
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Lunn @ 2008-04-29 20:46 UTC (permalink / raw)
To: Shilpa; +Cc: eCos Disuss
On Mon, Apr 28, 2008 at 03:47:39PM -0700, Shilpa wrote:
> Hi Andrew
>
> I could not find the cpuload package. Should I download this patch from the
> internet. If yes, please guide me.
Get a modern version of eCos:
http://ecos.sourceware.org/anoncvs.html
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ECOS] CPU Utilization
@ 2009-12-02 15:28 Chakravarthy Ponnuri
0 siblings, 0 replies; 6+ messages in thread
From: Chakravarthy Ponnuri @ 2009-12-02 15:28 UTC (permalink / raw)
To: ecos-discuss
Hi ,
Is there any package in ecos that gives the cpu utilization details per task(Like top utility in linux)?
Thanks
Chakri
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [ECOS] Cpu utilization
@ 2008-04-29 7:12 Shilpa
0 siblings, 0 replies; 6+ messages in thread
From: Shilpa @ 2008-04-29 7:12 UTC (permalink / raw)
To: Shilpa, Andrew Lunn; +Cc: ecos-discuss
Hi Andrew
I could not find the cpuload package. Should I download this patch from the
internet. If yes, please guide me.
Thank you
Regards
Shilpa
-----Original Message-----
From: Shilpa
Sent: Monday, April 28, 2008 3:48 PM
To: Andrew Lunn
Subject: RE: [ECOS] Cpu utilization
Hi Andrew
I could not find the cpuload package. Should I download this patch from the
internet. If yes, please guide me.
Thank you
Regards
Shilpa
-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
Sent: Sunday, April 27, 2008 9:27 AM
To: Shilpa
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Cpu utilization
On Fri, Apr 25, 2008 at 05:18:53PM -0700, Shilpa wrote:
> Hi all
>
> I am looking for how to calculate the CPU utilization in the switch. Iam
> using ECOS and the processor is MPC8245. I kindly request you to guide me
> in calculation.
Take a look at the cpuload package. packages/services/cpuload/current
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-12-02 15:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-27 16:26 [ECOS] Cpu utilization Shilpa
2008-04-28 7:34 ` [ECOS] " Grant Edwards
2008-04-28 8:49 ` [ECOS] " Andrew Lunn
[not found] ` <ANEIIDMJJAHCEKBLDEMEKEJHCAAA.shilpa@garrettcom.com>
2008-04-29 20:46 ` Andrew Lunn
2008-04-29 7:12 Shilpa
2009-12-02 15:28 [ECOS] CPU Utilization Chakravarthy Ponnuri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).