Do any commands or extension in C++ exist to find out how much CPU time, operative memory, network resources and hard-disk does a given process (with given PID) consume?
            Asked
            
        
        
            Active
            
        
            Viewed 70 times
        
    1
            
            
        - 
                    2http://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process?rq=1 – Mat May 06 '15 at 07:20
- 
                    1Those are strictly OS-specific things. – Mateusz Grzejek May 06 '15 at 07:20
- 
                    1You can probably look it up in the `/proc` file-system. If you want for your own process then you could maybe use [`getrusage`](http://man7.org/linux/man-pages/man2/getrusage.2.html). – Some programmer dude May 06 '15 at 07:22
- 
                    @MateuszGrzejek There are standards, working for most linux systems. – πάντα ῥεῖ May 06 '15 at 07:25
 
    