getloadavg: use sysinfo() instead of /proc/loadavg
authorAlexander Monakov <amonakov@ispras.ru>
Tue, 24 Feb 2015 18:44:07 +0000 (21:44 +0300)
committerRich Felker <dalias@aerifal.cx>
Wed, 25 Feb 2015 20:37:55 +0000 (15:37 -0500)
commit20cbd607759038dca57f84ef7e7b5d44a3088574
tree104f6987b3cb8ea4b741c67a20da11ae140d76d4
parent2de85a985654d2c944931267645d9a0686242dfe
getloadavg: use sysinfo() instead of /proc/loadavg

Based on a patch by Szabolcs Nagy.
src/legacy/getloadavg.c