proc_mem.resident same as proc_mem.rss

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

View File

@ -1088,7 +1088,7 @@ int sigar_proc_mem_get(sigar_t *sigar, sigar_pid_t pid,
procmem->vsize = PAGESHIFT(pinfo->pi_dvm);
procmem->share = PAGESHIFT(pinfo->pi_sdsize);
procmem->rss = PAGESHIFT(pinfo->pi_drss + pinfo->pi_trss);
procmem->resident = SIGAR_FIELD_NOTIMPL; /* N/A */
procmem->resident = procmem->rss;
return SIGAR_OK;
}