diff options
author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-17 07:23:49 +0000 |
---|---|---|
committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-17 07:23:49 +0000 |
commit | e5bd9e92b31ffaf3b605e454b6fd46e7b0b8b1f9 (patch) | |
tree | 00467370f36ce1eb8a7e4f077e231c174b7baa3f /src/libs/zbxsysinfo/aix/proc.c | |
parent | e68cbcd207d74ae649c8bb1abd7da847369ca3d3 (diff) | |
download | zabbix-e5bd9e92b31ffaf3b605e454b6fd46e7b0b8b1f9.tar.gz zabbix-e5bd9e92b31ffaf3b605e454b6fd46e7b0b8b1f9.tar.xz zabbix-e5bd9e92b31ffaf3b605e454b6fd46e7b0b8b1f9.zip |
- improved support of proc.num[<process>,<user name>,<all|run|sleep|zomb>] (Eugene)
- added support of system.swap.in.num (Eugene)
- added support of system.swap.in.pages (Eugene)
- added support of system.swap.out.num (Eugene)
- added support of system.swap.out.pages (Eugene)
- added support of kernel.max.proc (Eugene)
- added support of system.cpu.intr (Eugene)
- added support of system.cpu.switches (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2189 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/aix/proc.c')
-rw-r--r-- | src/libs/zbxsysinfo/aix/proc.c | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/libs/zbxsysinfo/aix/proc.c b/src/libs/zbxsysinfo/aix/proc.c new file mode 100644 index 00000000..6c2e9a53 --- /dev/null +++ b/src/libs/zbxsysinfo/aix/proc.c @@ -0,0 +1,51 @@ +/* + * ** ZABBIX + * ** Copyright (C) 2000-2005 SIA Zabbix + * ** + * ** This program is free software; you can redistribute it and/or modify + * ** it under the terms of the GNU General Public License as published by + * ** the Free Software Foundation; either version 2 of the License, or + * ** (at your option) any later version. + * ** + * ** This program is distributed in the hope that it will be useful, + * ** but WITHOUT ANY WARRANTY; without even the implied warranty of + * ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * ** GNU General Public License for more details. + * ** + * ** You should have received a copy of the GNU General Public License + * ** along with this program; if not, write to the Free Software + * ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * **/ + +#include "config.h" + +#include <errno.h> + +#include <string.h> +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/types.h> + +#include "common.h" +#include "sysinfo.h" + +/* +#define FDI(f, m) fprintf(stderr, "DEBUG INFO: " f "\n" , m) // show debug info to stderr +#define SDI(m) FDI("%s", m) // string info +#define IDI(i) FDI("%i", i) // integer info +*/ + +int PROC_MEMORY(const char *cmd, const char *param,double *value) +{ + /* in this moment this function for this platform unsupported */ + return SYSINFO_RET_FAIL; +} + +int PROC_NUM(const char *cmd, const char *param,double *value) +{ + /* in this moment this function for this platform unsupported */ + return SYSINFO_RET_FAIL; +} + |