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;