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

Diff of /monit/status.c

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

revision 1.14 by chopp, Fri Oct 11 20:59:58 2002 UTC revision 1.15 by chopp, Wed Oct 23 14:01:26 2002 UTC
# Line 21  Line 21 
21    
22  #include <stdio.h>  #include <stdio.h>
23  #include <stdlib.h>  #include <stdlib.h>
24    
25  #ifdef HAVE_SYS_TYPES_H  #ifdef HAVE_SYS_TYPES_H
26  #include <sys/types.h>  #include <sys/types.h>
27  #endif  #endif
28    
29  #include <sys/socket.h>  #include <sys/socket.h>
30    
31  #ifdef HAVE_STRING_H  #ifdef HAVE_STRING_H
# Line 51  static int remote_status(Process_T, ssl_ Line 53  static int remote_status(Process_T, ssl_
53   *  Print the status of processes in the process list.   *  Print the status of processes in the process list.
54   *   *
55   *  @author Jan-Henrik Haukeland, <hauk@tildeslash.com>   *  @author Jan-Henrik Haukeland, <hauk@tildeslash.com>
56     *  @author Christian Hopp, <chopp@iei.tu-clausthal.de>
57   *   *
58   *  @version \$Id$   *  @version \$Id$
59   *   *
# Line 80  void status() { Line 83  void status() {
83    free(uptime);    free(uptime);
84        
85    for ( p= processlist; p; p= p->next) {    for ( p= processlist; p; p= p->next) {
86        
87        if (remote) {        if (remote) {
88    
89          remote = remote_status(p, ssl);          remote = remote_status(p, ssl);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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