Created
January 9, 2018 22:54
-
-
Save Krailon/5079495d52e0c3e3b1a31f2dda6ffb8e to your computer and use it in GitHub Desktop.
CPU Stress Test Bootstrapper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt install stress lm-sensors | |
# TODO: check install succeeded | |
sensors-detect | |
tmux new -d -s StressTest -n Stress 'stress --cpu 2 --verbose' | |
tmux split-window -v 'watch uptime' | |
tmux split-window -h 'watch sensors' | |
tmux attach |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment