How to get number of threads for single java process on HP-UX OS?

Hi All,

When i was trying to get total number of threads per java process using this command ps -o NLWP PID, I'm not getting any output. Could someone help me in this issue.

Thanks,
GMar

The ps command does not have lwp functionality (not even in HP-UX 11.31).
Google finds glance , and a C-program (that you must compile).

1 Like