msiFlushMonStat ( msParam_t *  inpParam1,
msParam_t *  inpParam2,
ruleExecInfo_t *  rei 
)
Description:
This microservice flushes the servers' monitoring statistics.
Module:
core
Since:
pre-2.1
Author:
Jean-Yves Nief
Date:
2009-06
Note:
This microservice removes the servers' metrics older than the number of hours in "timespan".
Example Usage:
See clients/icommands/test/rules3.0/ and https://www.irods.org/index.php/Resource_Monitoring_System
Parameters:
[in] inpParam1 - Required - a msParam of type STR_MS_T defining the timespan in hours. "default" is equal to 24 hours.
[in] inpParam2 - Required - a msParam of type STR_MS_T defining the tablename to be flushed. Currently must be either "serverload" or "serverloaddigest".
[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:
table R_SERVER_LOAD content
iCAT Attributes Modified:
table R_SERVER_LOAD content
Side Effect:
none
Returns:
integer
Return values:
0 upon success
Precondition:
N/A
Postcondition:
N/A
See also:
N/A

Definition at line 734 of file reIn2p3SysRule.c.

Generated on Tue May 14 16:53:39 2013 for iRODS Documentation by  doxygen 1.6.3