From ac891b330e57e2b96798e6d6c7ee7e8d7fd66e46 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 1 Nov 2005 19:06:31 +0000 Subject: [PATCH] proc_mem.resident = proc_mem.rss --- src/os/hpux/hpux_sigar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/os/hpux/hpux_sigar.c b/src/os/hpux/hpux_sigar.c index af3414dc..16333dce 100644 --- a/src/os/hpux/hpux_sigar.c +++ b/src/os/hpux/hpux_sigar.c @@ -271,6 +271,8 @@ int sigar_proc_mem_get(sigar_t *sigar, sigar_pid_t pid, procmem->rss = pinfo->pst_rssize * pagesize; + procmem->resident = procmem->rss; + procmem->share = pinfo->pst_shmsize * pagesize; return SIGAR_OK;