diff --git a/src/os/hpux/hpux_sigar.c b/src/os/hpux/hpux_sigar.c index 16333dce..32908106 100644 --- a/src/os/hpux/hpux_sigar.c +++ b/src/os/hpux/hpux_sigar.c @@ -332,6 +332,7 @@ int sigar_proc_state_get(sigar_t *sigar, sigar_pid_t pid, pinfo->pst_term.psd_minor); procstate->priority = pinfo->pst_pri; procstate->nice = pinfo->pst_nice; + procstate->threads = pinfo->pst_nlwps; switch (pinfo->pst_stat) { case PS_SLEEP: