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

Diff of /monit/control.c

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

revision 1.19 by martinp, Tue Dec 17 07:50:24 2002 UTC revision 1.20 by martinp, Tue Dec 17 18:48:54 2002 UTC
# Line 337  static void atomic_control_process(Proce Line 337  static void atomic_control_process(Proce
337      if(is_process_running(p)) {      if(is_process_running(p)) {
338        log("%s: (%s) %s\n", action, p->name, p->stop->arg[0]);        log("%s: (%s) %s\n", action, p->name, p->stop->arg[0]);
339        spawn(p, p->stop);        spawn(p, p->stop);
340    
341          p->procinfo->cputime_prev= p->procinfo->cputime = 0;
342          p->procinfo->mem_kbyte= 0;
343          p->procinfo->mem_percent= 0.0;
344    
345        p->visited= TRUE;        p->visited= TRUE;
346      }      }
347    }    }

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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