author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 13 Jun 2010 19:44:09 +0000 (21:44 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 13 Jun 2010 19:44:09 +0000 (21:44 +0200) |
1 | 2 | |||
---|---|---|---|---|
src/processes.c | patch | | diff1 | | diff2 | | blob | history |
src/snmp.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/processes.c
index c642e58a88b1b8def6a13b8d0dbea887060e5a55,670aa8d717dd19e1e745b1c15584ef2a90c8af3c..8a3df644d00e71be94f343faaa65c3b29bd9aafb
--- 1/src/processes.c
--- 2/src/processes.c
+++ b/src/processes.c
pse.vmem_size = procentry[i].pi_tsize + procentry[i].pi_dvm * pagesize;
pse.vmem_rss = (procentry[i].pi_drss + procentry[i].pi_trss) * pagesize;
+ /* Not supported */
+ pse.vmem_data = 0;
+ pse.vmem_code = 0;
pse.stack_size = 0;
+ pse.io_rchar = -1;
+ pse.io_wchar = -1;
+ pse.io_syscr = -1;
+ pse.io_syscw = -1;
+
ps_list_add (cmdline, cargs, &pse);
} /* for (i = 0 .. nprocs) */
diff --cc src/snmp.c
Simple merge