132 |
Service_T s; |
Service_T s; |
133 |
sigset_t ns, os; |
sigset_t ns, os; |
134 |
|
|
135 |
if(Run.doprocess) |
if(Run.doprocess) { |
136 |
initprocesstree(&ptree, &ptreesize, &oldptree, &oldptreesize); |
initprocesstree(&ptree, &ptreesize, &oldptree, &oldptreesize); |
137 |
|
if(! update_system_load(ptree, ptreesize)) |
138 |
if(! update_system_load(ptree, ptreesize)) |
log("Update of system load has failed!\n"); |
139 |
log("Update of loadavg has failed!\n"); |
} |
140 |
time(&systeminfo.collected); |
time(&systeminfo.collected); |
141 |
|
|
142 |
for(s= servicelist; s; s= s->next) { |
for(s= servicelist; s; s= s->next) { |