Created
September 18, 2019 11:01
-
-
Save MelvinTo/7fe98e021c11e0409b16b0352f224f32 to your computer and use it in GitHub Desktop.
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
cd /home/pi | |
mkdir -p /home/pi/stress_data | |
truncate -s 1G DISK; mke2fs -q -t ext4 -F DISK | |
sudo mount DISK /home/pi/stress_data | |
sudo chmod 777 /home/pi/stress_data | |
stressdisk -duration 5m -s 100000000 cycle /home/pi/stress_data | |
awk '/Errors:/ {print $2}' /home/pi/stressdisk.log | tail -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment