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 work.
then read a few bytes. You migh want to make it non-blocking.

        -Thomas




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to