processes plugin: Comment out nonexistent struct members.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 2 May 2009 08:49:35 +0000 (10:49 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 2 May 2009 08:49:35 +0000 (10:49 +0200)
We should reintroduce those values eventually.

src/processes.c

index e3e8f85..95c62bb 100644 (file)
@@ -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;