trace attrs

This commit is contained in:
Doug MacEachern 2005-06-15 01:52:45 +00:00
parent a15d63d3e3
commit 39e76c9b4b
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@ public class TestProcMem extends SigarTestCase {
ProcMem procMem = sigar.getProcMem(sigar.getPid());
traceln("Size=" + Sigar.formatSize(procMem.getSize()));
traceln("Vsize=" + Sigar.formatSize(procMem.getVsize()));
traceln("Resident=" + Sigar.formatSize(procMem.getResident()));
traceln("Share=" + Sigar.formatSize(procMem.getShare()));
traceln("Rss=" + Sigar.formatSize(procMem.getRss()));
assertTrue(procMem.getSize() > 0);
// XXX vsize, resident, share, rss
}