loadave.h
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:1k
- /*
- * Loadaveess watching mib group
- */
- #ifndef _MIBGROUP_LOADAVE_H
- #define _MIBGROUP_LOADAVE_H
- config_require(util_funcs)
- void init_loadave(void);
- extern FindVarMethod var_extensible_loadave;
- /*
- * config file parsing routines
- */
- void loadave_parse_config(const char *, char *);
- void loadave_free_config(void);
- int try_getloadavg(double *r_ave, size_t s_ave);
- #include "mibdefs.h"
- #define LOADAVE 3
- #define LOADMAXVAL 4
- #define LOADAVEINT 5
- #define LOADAVEFLOAT 6
- #endif /* _MIBGROUP_LOADAVE_H */