From: Florian Forster Date: Sat, 2 May 2009 08:49:35 +0000 (+0200) Subject: processes plugin: Comment out nonexistent struct members. X-Git-Tag: collectd-4.5.4~12 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2928de22ab136c8b07e1204db4128dc1aeeaff01;p=collectd.git processes plugin: Comment out nonexistent struct members. We should reintroduce those values eventually. --- diff --git a/src/processes.c b/src/processes.c index e3e8f858..95c62bba 100644 --- a/src/processes.c +++ b/src/processes.c @@ -1218,9 +1218,9 @@ static int ps_read (void) pse.num_proc = 1; pse.num_lwp = procs[i].ki_numthreads; - pse.vmem_size = procs[i].ki_size; + /* pse.vmem_size = procs[i].ki_size; */ pse.vmem_rss = procs[i].ki_rssize * getpagesize(); - pse.stack_size = procs[i].ki_ssize * getpagesize(); + /* pse.stack_size = procs[i].ki_ssize * getpagesize(); */ pse.vmem_minflt = 0; pse.vmem_minflt_counter = procs[i].ki_rusage.ru_minflt; pse.vmem_majflt = 0;