diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-09-01 12:59:15 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-09-01 12:59:15 +0000 |
commit | aa8584f717d75cbd1efca300206dc4713d255335 (patch) | |
tree | f634ba1062fded5487dd8280cb0ddb9cb6903367 /src/libs/zbxsysinfo/cpu.c | |
parent | 625662bcb0d08e9228eeeae987dec996eead4efa (diff) | |
download | zabbix-aa8584f717d75cbd1efca300206dc4713d255335.tar.gz zabbix-aa8584f717d75cbd1efca300206dc4713d255335.tar.xz zabbix-aa8584f717d75cbd1efca300206dc4713d255335.zip |
- all CPU-related metrics renamed to system.cpu.xxx (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2020 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/cpu.c')
-rw-r--r-- | src/libs/zbxsysinfo/cpu.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/libs/zbxsysinfo/cpu.c b/src/libs/zbxsysinfo/cpu.c index 38cd9757..7a26b569 100644 --- a/src/libs/zbxsysinfo/cpu.c +++ b/src/libs/zbxsysinfo/cpu.c @@ -139,61 +139,61 @@ #include "common.h" #include "sysinfo.h" -int CPUIDLE1(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_IDLE1(const char *cmd, const char *param,double *value) { return get_stat("cpu[idle1]",value); } -int CPUIDLE5(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_IDLE5(const char *cmd, const char *param,double *value) { return get_stat("cpu[idle5]",value); } -int CPUIDLE15(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_IDLE15(const char *cmd, const char *param,double *value) { return get_stat("cpu[idle15]",value); } -int CPUNICE1(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_NICE1(const char *cmd, const char *param,double *value) { return get_stat("cpu[nice1]",value); } -int CPUNICE5(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_NICE5(const char *cmd, const char *param,double *value) { return get_stat("cpu[nice5]",value); } -int CPUNICE15(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_NICE15(const char *cmd, const char *param,double *value) { return get_stat("cpu[nice15]",value); } -int CPUUSER1(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_USER1(const char *cmd, const char *param,double *value) { return get_stat("cpu[user1]",value); } -int CPUUSER5(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_USER5(const char *cmd, const char *param,double *value) { return get_stat("cpu[user5]",value); } -int CPUUSER15(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_USER15(const char *cmd, const char *param,double *value) { return get_stat("cpu[user15]",value); } -int CPUSYSTEM1(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_SYS1(const char *cmd, const char *param,double *value) { return get_stat("cpu[system1]",value); } -int CPUSYSTEM5(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_SYS5(const char *cmd, const char *param,double *value) { return get_stat("cpu[system5]",value); } -int CPUSYSTEM15(const char *cmd, const char *param,double *value) +int SYSTEM_CPU_SYS15(const char *cmd, const char *param,double *value) { return get_stat("cpu[system15]",value); } |