Process count support added
This commit is contained in:
parent
d4dfdc53d4
commit
322e56ce36
|
@ -94,6 +94,8 @@ static int _damon_refresh(Host * hosts)
|
||||||
_rrd_update(rrd, 3, appclient_call(ac, "load1", 0),
|
_rrd_update(rrd, 3, appclient_call(ac, "load1", 0),
|
||||||
appclient_call(ac, "load5", 0),
|
appclient_call(ac, "load5", 0),
|
||||||
appclient_call(ac, "load15", 0));
|
appclient_call(ac, "load15", 0));
|
||||||
|
sprintf(rrd, "%s/%s", hosts[i].hostname, "procs.rrd");
|
||||||
|
_rrd_update(rrd, 1, appclient_call(ac, "procs", 0));
|
||||||
}
|
}
|
||||||
free(rrd);
|
free(rrd);
|
||||||
if(ac != NULL)
|
if(ac != NULL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user