add proc_mem.resident (same as rss)

This commit is contained in:
Doug MacEachern 2005-11-01 18:52:50 +00:00
parent d146b6bb65
commit 85527ccbf1
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ int sigar_proc_mem_get(sigar_t *sigar, sigar_pid_t pid,
procmem->size = pinfo->pr_size << 10; procmem->size = pinfo->pr_size << 10;
procmem->rss = pinfo->pr_rssize << 10; procmem->rss = pinfo->pr_rssize << 10;
procmem->resident = SIGAR_FIELD_NOTIMPL; procmem->resident = procmem->rss;
procmem->vsize = SIGAR_FIELD_NOTIMPL; procmem->vsize = SIGAR_FIELD_NOTIMPL;
procmem->share = SIGAR_FIELD_NOTIMPL; procmem->share = SIGAR_FIELD_NOTIMPL;