/[monit]/monit/validate.c
ViewVC logotype

Diff of /monit/validate.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.133 by chopp, Tue Feb 1 14:57:21 2005 UTC revision 1.134 by martinp, Tue Feb 15 19:42:00 2005 UTC
# Line 132  void validate() { Line 132  void validate() {
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) {

Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26