The onstat -g act option prints active threads.
Following is sample output from the onstat -g act command.
IBM Informix Extended Parallel Server Version 8.50.FN145 -- On-Line -- Up 01:52:34 -- 101376 Kbytes Running threads: tid tcb rstcb prty status vp-class #scheds name *2 b3132d8 0 2 running 2adm 0 adminthd *40 c5384d0 0 2 running 1cpu 102630 tlitcppoll