> Hello. I'm trying to find a way to measure system load on linux. I cannot
> use the "w" or "uptime" command because it would be too slow for my intended
> application. Is there a system call or a library to do so? thank you in
> advance.
/proc/loadavg
contains the data that uptime reports.