public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Begginer need help 2.6
@ 2004-11-10 13:32 Diego
  2004-11-10 13:56 ` HoWE
  2004-11-11 19:47 ` Tonnerre
  0 siblings, 2 replies; 3+ messages in thread
From: Diego @ 2004-11-10 13:32 UTC (permalink / raw)
  To: linux-kernel

Sorry bothering but somebody can help me, i need to know if exist in
kernel a variable ou something that can inform the CPU idle time (like
top informs) and where is it, so i can use it.

Thanks a lot.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Begginer need help 2.6
  2004-11-10 13:32 Begginer need help 2.6 Diego
@ 2004-11-10 13:56 ` HoWE
  2004-11-11 19:47 ` Tonnerre
  1 sibling, 0 replies; 3+ messages in thread
From: HoWE @ 2004-11-10 13:56 UTC (permalink / raw)
  To: linux-kernel

On Wed, 10 Nov 2004 10:32:52 -0300, Diego <foxdemon@gmail.com> wrote:
> Sorry bothering but somebody can help me, i need to know if exist in
> kernel a variable ou something that can inform the CPU idle time (like
> top informs) and where is it, so i can use it.

an answer to this most certainly exists in the archives already.

take a look in /usr/src/linux-2.6.X/Documentation/filesystems/proc.txt,
search for /proc/stat

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Begginer need help 2.6
  2004-11-10 13:32 Begginer need help 2.6 Diego
  2004-11-10 13:56 ` HoWE
@ 2004-11-11 19:47 ` Tonnerre
  1 sibling, 0 replies; 3+ messages in thread
From: Tonnerre @ 2004-11-11 19:47 UTC (permalink / raw)
  To: Diego; +Cc: linux-kernel

Salut,

On Wed, Nov 10, 2004 at 10:32:52AM -0300, Diego wrote:
> Sorry bothering but somebody can help me, i need to know if exist in
> kernel a variable ou something that can inform the CPU idle time (like
> top informs) and where is it, so i can use it.

You mean, a possibility to let a job take all CPU idle time? Set its 
prio to SCHED_BATCH.

			    Tonnerre


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-11 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-10 13:32 Begginer need help 2.6 Diego
2004-11-10 13:56 ` HoWE
2004-11-11 19:47 ` Tonnerre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox