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

Diff of /monit/status.c

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

revision 1.20 by chopp, Tue Feb 11 11:29:15 2003 UTC revision 1.21 by martinp, Tue Feb 11 13:55:01 2003 UTC
# Line 164  static void local_status(Process_T p) { Line 164  static void local_status(Process_T p) {
164    
165      char *uptime= get_process_uptime(p->pidfile);      char *uptime= get_process_uptime(p->pidfile);
166    
167      fprintf(stdout, "Process '%s' is running with pid [%d] Uptime: %s\n",      fprintf(stdout, "Process '%s' is running with pid [%d] Uptime: %s "
168              p->name, (int)pid, uptime);              "Monitoring status: %s\n",
169                p->name, (int)pid, uptime, statusnames[p->do_validate]);
170            
171      free(uptime);      free(uptime);
172    

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

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