|
msiServerMonPerf |
( |
msParam_t * |
verb, |
|
|
msParam_t * |
ptime, |
|
|
ruleExecInfo_t * |
rei | |
|
) |
| | |
- Description:
- This microservice monitors the servers' activity and performance.
- Module:
- core
- Since:
- pre-2.1
- Author:
- Jean-Yves Nief
- Date:
- 2009-06
- Note:
- This microservice monitors the servers' activity and performance for CPU, network, memory and more. It retrieves the list of servers to monitor from the MON_CFG_FILE if it exists, or the iCAT if the configuration file does not exist.
-
The MON_PERF_SCRIPT is executed on each host. The result is put in the OUTPUT_MON_PERF file and will also be put in the iCAT in the near future.
- Example Usage:
- See clients/icommands/test/rules3.0/ and https://www.irods.org/index.php/Resource_Monitoring_System
- Parameters:
-
[in] | verb | - a msParam of type STR_MS_T defining verbose mode:
- "default" - not verbose
- "verbose" - verbose mode
|
[in] | ptime | - a msParam of type STR_MS_T defining probe time in seconds. "default" is equal to 10 seconds. |
[in,out] | rei | - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation. |
- Session Variables Used:
- none
- Session Variables Modified:
- none
- iCAT Attributes Used:
- none
- iCAT Attributes Modified:
- resource status flag, resource free space available, table R_SERVER_LOAD
- Side Effect:
- none
- Returns:
- integer
- Return values:
-
- Precondition:
- N/A
- Postcondition:
- N/A
- See also:
- N/A
Definition at line 525 of file reIn2p3SysRule.c.
|