I want to calculate the GPU load but have no idea which file contains that. Is it also stored somewhere like the CPU load in the /proc/loadavg file ?
            Asked
            
        
        
            Active
            
        
            Viewed 3,715 times
        
    4
            
            
        - 
                    @fedorqui Eh? @Hellboy `/proc/loadavg` does *not* contain the CPU load. – scai Jul 01 '13 at 13:26
- 
                    It contains the load for the last 1min, 5 mins and 15 mins. – Hellboy Jul 01 '13 at 13:34
- 
                    Exactly, the system load. But not the CPU load. – scai Jul 01 '13 at 13:51
- 
                    So, where can I find the CPU and GPU load ? Do we have to calculate the CPU load from the /proc/stat file under the label cpu (which contain various jiffies) ? – Hellboy Jul 01 '13 at 14:26
- 
                    The CPU load is not stored in any file, it has to be calculated. Because at a specific point in time the CPU (core) load is either idle or at 100%. See [this question](http://stackoverflow.com/questions/3017162/how-to-get-total-cpu-usage-in-linux-c) on how to calculate it or just use the output from `top`. – scai Jul 01 '13 at 15:41
- 
                    Are CPU load and CPU usage different things or the same ? – Hellboy Jul 02 '13 at 05:21
- 
                    Please note that this is *not* a place for discussions. They are the same. – scai Jul 02 '13 at 06:14
1 Answers
4
            
            
        For nVidia gpus see the thread: checking GPU load on nVidia hardware? [solved]
For intel chips just type:
su -c 'intel_gpu_top'
on the command line.
 
     
    