Views: 
              177,328 
          
          
                Votes:  70 
          
          
                ✅ Solution
          
          
            
            Tags: 
              
                software-recommendation  
              
                stress-testing  
              
                conky  
              
          
          
            
              
                
                Link: 
                  🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
              
            
          
        
        
          
            URL: 
              https://askubuntu.com/q/948865
          
          
            
            Title: 
              How do I stress test CPU and RAM (at the same time)?
            
          
          
            ID: 
              /2017/08/23/How-do-I-stress-test-CPU-and-RAM-_at-the-same-time__
            
          
          
            Created: 
               August 23, 2017
          
          
               Edited:  September  5, 2017
          
          
          
            
            Upload: 
              October 19, 2025
          
          
               Layout:  post
          
          
            
            TOC: 
              false
          
          
               Navigation:  false
          
          
               Copy to clipboard:  false
          
          
        
       
You can install stress with:
sudo apt install stress
Then call it with:
stress --cpu 8 --io 4 --vm 4 --vm-bytes 1024M --timeout 10s
On my conky display notice how:
- In the top section CPU utilization spikes from 3% to 100%
- In the middle the temperature spikes from 60C to 80C
- At the bottom memory spikes from normal 2.75 GiB to 6.25 GiB
Type stress --help for a full list of options.
A commentator requested posting the entire conky script which I did here: conky transparent
