proc_mem.rss = proc_mem.resident

This commit is contained in:
Doug MacEachern 2005-11-01 19:15:23 +00:00
parent fc6592f379
commit 6a47768169
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ SIGAR_DECLARE(int) sigar_proc_mem_get(sigar_t *sigar, sigar_pid_t pid,
procmem->size = pinfo->size; procmem->size = pinfo->size;
procmem->resident = pinfo->resident; procmem->resident = pinfo->resident;
procmem->share = SIGAR_FIELD_NOTIMPL; procmem->share = SIGAR_FIELD_NOTIMPL;
procmem->rss = SIGAR_FIELD_NOTIMPL; procmem->rss = pinfo->resident;
return SIGAR_OK; return SIGAR_OK;
} }