Messages in this thread |  | | | Date | Wed, 10 Jul 2002 09:54:43 -0700 | | From | William Lee Irwin III <> | | Subject | Re: CPU load |
| |
On Wed, Jul 10, 2002 at 10:50:15PM +0800, David Chow wrote: > Is there any calls in the kernel space I can determine the current > system load or CPU load?
Examine the avenrun array declared in kernel/timer.c in a manner similar to how loadavg_read_proc() in fs/proc/proc_misc.c does.
Cheers, Bill - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |