Is there a way to get the CPU and memory usage programatically (C++) of an application on HPUX?
A:
How to determine CPU and memory consumption from inside a process
Answers are given for Windows and Linux, not HPUX, but the Linux version might lead you in the right direction.
luke
2009-08-27 19:32:19
A:
If you need to get the numbers for a different process, use pstat_getproc()
.
mark4o
2009-08-27 22:43:30