Skip to content

Instantly share code, notes, and snippets.

@generalistcodes
Created March 17, 2024 19:00
Show Gist options
  • Save generalistcodes/9ecfcdba9e689bfd71eeef1cfbbfff11 to your computer and use it in GitHub Desktop.
Save generalistcodes/9ecfcdba9e689bfd71eeef1cfbbfff11 to your computer and use it in GitHub Desktop.
Stress the CPU with four worker threads for 320 seconds
sudo amazon-linux-extras install epel -y
sudo yum install stress -y
#Stress the CPU with four worker threads for 320 seconds
sudo stress --cpu 4 --timeout 320
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment