proc_mem.resident = proc_mem.rss
This commit is contained in:
parent
85527ccbf1
commit
ac891b330e
|
@ -271,6 +271,8 @@ int sigar_proc_mem_get(sigar_t *sigar, sigar_pid_t pid,
|
||||||
|
|
||||||
procmem->rss = pinfo->pst_rssize * pagesize;
|
procmem->rss = pinfo->pst_rssize * pagesize;
|
||||||
|
|
||||||
|
procmem->resident = procmem->rss;
|
||||||
|
|
||||||
procmem->share = pinfo->pst_shmsize * pagesize;
|
procmem->share = pinfo->pst_shmsize * pagesize;
|
||||||
|
|
||||||
return SIGAR_OK;
|
return SIGAR_OK;
|
||||||
|
|
Loading…
Reference in New Issue