Showing posts with label stress. Show all posts
Showing posts with label stress. Show all posts

Monday, October 28, 2019

Stressing Linux Machine Using "stress" Tool

In order to increase CPU utilization, "stress" is a good tool for that. Here's a sample usage in Amazon Linux bash terminal:

# Get access to non-included extras tools
sudo amazon-linux-extras install epel

# Install the stress tool
sudo yum install -y stress

# Stress a single CPU core for 30 minutes
stress --cpu 1 --timeout 30m