Is there a way to get the CPU and memory usage programmatically (C++) of an application on HPUX?
            Asked
            
        
        
            Active
            
        
            Viewed 1,364 times
        
    3 Answers
1
            
            
        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.
0
            
            
        If you need to get the numbers for a different process, use pstat_getproc().
 
    
    
        mark4o
        
- 58,919
- 18
- 87
- 102
 
     
     
     
    