From 059b8554ac4d969c1b05cc2293a886d6c9ba786a Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 22 Nov 2005 22:26:37 +0000 Subject: [PATCH] add proc_state.threads --- src/os/hpux/hpux_sigar.c | 1 + 1 file changed, 1 insertion(+) 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: