vishist mandapaka wrote:
> Hi,
> The granularity of my access should be around once every 5 sec. But one
> min, I am unable to read that file through a program. I want to read the
> load of the system through a C program..
Why not? open("/proc/loadavg",O_RDONLY) should
Hi,
You might take a look at the procps package (top, uptime, etc.) to see how
they do it.
Venkatesh
>
> Hi,
> The granularity of my access should be around once every 5 sec. But one
> min, I am unable to read that file through a program. I want to read the
> load of the s
Hi,
The granularity of my access should be around once every 5 sec. But one
min, I am unable to read that file through a program. I want to read the
load of the system through a C program..
thanks
vishit.
___
Redhat-devel-list mailing list
[EMAIL
You didn't say how granular you need to get, so I am not sure if this will
help you:
look at the contents of /proc/loadavg
This file contains the average CPU utilization for 1, 5 & 15 minutes.
On Tuesday 26 March 2002 05:53 pm, you wrote:
Hi,
I want to determine the load on th
Hi,
I want to determine the load on the
machine through C API. Can anyone help me.
thanks
[EMAIL PROTECTED] said:
> To: [EMAIL PROTECTED], [EMAIL PROTECTED],
>[EMAIL PROTECTED]
Asking questions on several lists encourages me to not answer.
Please, choose the most appropriate list (guinness if you're asking wrt
guinness but not otherwise) and ask on that one list.
_
Hi,
I am trying to load PCI device driver from a package that i will run its
application later. The dirver is probably needed for the interface PCI
board. There is a module called "myapp_load". The instruction says run
"./myapp_load" as superuser.
when i do that i get th