/[monit]/monit/monit_process.h
ViewVC logotype

Diff of /monit/monit_process.h

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

revision 1.6 by martinp, Tue Feb 11 21:27:39 2003 UTC revision 1.7 by chopp, Fri Jun 6 09:31:16 2003 UTC
# Line 35  extern char operatornames[][STRLEN]; Line 35  extern char operatornames[][STRLEN];
35  extern char operatorshortnames[][3];  extern char operatorshortnames[][3];
36  extern char statusnames[][STRLEN];  extern char statusnames[][STRLEN];
37  extern int num_cpus;  extern int num_cpus;
38    extern int mem_kbyte_max;
39    
40  #define RESOURCE_ID_CPU_PERCENT 1  #define RESOURCE_ID_CPU_PERCENT 1
41  #define RESOURCE_ID_MEM_PERCENT 2  #define RESOURCE_ID_MEM_PERCENT 2
# Line 42  extern int num_cpus; Line 43  extern int num_cpus;
43  #define RESOURCE_ID_LOAD1   4  #define RESOURCE_ID_LOAD1   4
44  #define RESOURCE_ID_LOAD5   5  #define RESOURCE_ID_LOAD5   5
45  #define RESOURCE_ID_LOAD15  6  #define RESOURCE_ID_LOAD15  6
46    #define RESOURCE_ID_CHILDREN  7
47    #define RESOURCE_ID_TOTAL_MEM_KBYTE  8
48    #define RESOURCE_ID_TOTAL_MEM_PERCENT  9
49    
50  int update_process_data(Process_T p, pid_t pid);  
51    int update_process_data(Process_T p, ProcessTree_T *, int treesize, pid_t pid);
52  int init_process_info(void);  int init_process_info(void);
53  int update_loadavg(void);  int update_loadavg(void);
54    
55    
56    ProcessTree_T * findprocess(int, ProcessTree_T *, int);
57    int initprocesstree(ProcessTree_T **);
58    void delprocesstree(ProcessTree_T *, int);
59    
60    
61  #endif  #endif
62    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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