summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/osx/osx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxsysinfo/osx/osx.c')
-rw-r--r--src/libs/zbxsysinfo/osx/osx.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/osx/osx.c b/src/libs/zbxsysinfo/osx/osx.c
index 71da5581..edaacb03 100644
--- a/src/libs/zbxsysinfo/osx/osx.c
+++ b/src/libs/zbxsysinfo/osx/osx.c
@@ -90,7 +90,11 @@ int DISKWRITEBLKS15(const char *cmd, const char *parameter,double *value);
int AGENT_PING(const char *cmd, const char *parameter,double *value);
int VM_MEMORY_SHARED(const char *cmd, const char *parameter,double *value);
int VM_MEMORY_TOTAL(const char *cmd, const char *parameter,double *value);
+
int PROC_NUM(const char *cmd, const char *parameter,double *value);
+int PROC_MEMORY(const char *cmd, const char *param, double *value);
+
+
int PROCCOUNT(const char *cmd, const char *parameter,double *value);
int SYSTEM_CPU_LOAD1(const char *cmd, const char *parameter,double *value);
@@ -181,7 +185,8 @@ COMMAND parameters_specific[]=
{"kernel.maxfiles]" ,KERNEL_MAXFILES, 0, 0},
{"kernel.maxproc" ,KERNEL_MAXPROC, 0, 0},
- {"proc.num[*]" ,PROC_NUM, 0, "inetd"},
+ {"proc.num[*]" ,PROC_NUM, 0, "inetd"},
+ {"proc.mem[*]" ,PROC_MEMORY, 0, "inetd"},
{"vm.memory.total" ,VM_MEMORY_TOTAL, 0, 0},
{"vm.memory.shared" ,VM_MEMORY_SHARED, 0, 0},