Skip to content

Instantly share code, notes, and snippets.

@Krailon
Created January 9, 2018 22:54
Show Gist options
  • Save Krailon/5079495d52e0c3e3b1a31f2dda6ffb8e to your computer and use it in GitHub Desktop.
Save Krailon/5079495d52e0c3e3b1a31f2dda6ffb8e to your computer and use it in GitHub Desktop.
CPU Stress Test Bootstrapper
#!/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