Go to the source code of this file.
Functions | |
int | init_process_info (void) |
Initialize the proc information code. | |
int | update_process_data (Process_T p, pid_t pid) |
Get the proc infomation (CPU percentage, MEM in MByte and percent, status), enduser version. | |
int | update_loadavg (void) |
Updates the loadavg list. | |
Variables | |
char | actionnames [][STRLEN] = {"ignore", "alert", "restart", "stop"} |
char | modenames [][STRLEN] = {"active", "passive", "manual"} |
char | operatorshortnames [][3] = {">", "<", "=", "!="} |
char | operatornames [][STRLEN] |
int | include_children = TRUE |
int | num_cpus = 1 |
Definition in file monit_process.c.
|
Initialize the proc information code.
Definition at line 90 of file monit_process.c. References init_process_info_sysdep(). |
|
Updates the loadavg list.
Definition at line 127 of file monit_process.c. References myrun::loadavg, and Run. Referenced by validate(). |
|
Get the proc infomation (CPU percentage, MEM in MByte and percent, status), enduser version.
Definition at line 104 of file monit_process.c. References ASSERT, get_process_info(), myprocinfo::pid, and myprocess::procinfo. |
|
Definition at line 76 of file monit_process.c. |
|
Definition at line 82 of file monit_process.c. |
|
Definition at line 77 of file monit_process.c. |
|
Definition at line 83 of file monit_process.c. |
|
Initial value: {"greater than", "less than", "equal to", "not equal to"} Definition at line 79 of file monit_process.c. |
|
Definition at line 78 of file monit_process.c. |