blob: 91e3edd7338cefde2e24947b339dcad811d58663 (
plain) (
blame)
1
2
3
4
5
6
7
|
#include "detection/loadavg/loadavg.h"
#include <sys/loadavg.h>
const char* ffDetectLoadavg(double result[3]) {
return getloadavg(result, 3) == 3 ? NULL : "getloadavg() failed";
}
|