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 | operatornames [][STRLEN] |
| char | operatorshortnames [][3] = {">", "<", "=", "!="} |
| char | statusnames [][STRLEN] = {"not monitored", "monitored" } |
| int | include_children = TRUE |
| int | num_cpus = 1 |
Definition in file monit_process.c.
|
|
Initialize the proc information code.
Definition at line 91 of file monit_process.c. References init_process_info_sysdep(). |
|
|
Updates the loadavg list.
Definition at line 128 of file monit_process.c. References getloadavg(), myrun::loadavg, and Run. Referenced by validate(). |
|
||||||||||||
|
Get the proc infomation (CPU percentage, MEM in MByte and percent, status), enduser version.
Definition at line 105 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 83 of file monit_process.c. |
|
|
Definition at line 77 of file monit_process.c. |
|
|
Definition at line 84 of file monit_process.c. |
|
|
Initial value: {"greater than", "less than", "equal to",
"not equal to"}Definition at line 78 of file monit_process.c. |
|
|
Definition at line 80 of file monit_process.c. |
|
|
Definition at line 81 of file monit_process.c. |