Draw performance graphs for hard drive
  • Python 67.6%
  • Shell 32.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Piotr (Peter) Slatala ea544cec9c parse sdc
2020-06-15 18:13:49 -07:00
.gitignore Update gitignore 2020-05-29 20:50:35 -07:00
mdadm-sdc-2.txt All data after mdadm create mirror 2020-06-06 08:04:48 -07:00
mdadm-sdc.txt All data after mdadm create mirror 2020-06-06 08:04:48 -07:00
mdadm-sdf-2.txt All data after mdadm create mirror 2020-06-06 08:04:48 -07:00
mdadm-sdf.txt All data after mdadm create mirror 2020-06-06 08:04:48 -07:00
parse.py parse sdc 2020-06-15 18:13:49 -07:00
plot.sh add x permissions to plot.sh 2020-06-15 18:11:43 -07:00
readme.md Add readme 2020-05-29 21:12:06 -07:00
sdc.txt logs from sdc 2020-06-05 10:23:15 -07:00
stats.sh All data after mdadm create mirror 2020-06-06 08:04:48 -07:00
wd-elements-12TB-WD120EMAZ.stats.sda.txt Add aggregation for multiple measurements for better averaging 2020-05-30 14:16:33 -07:00
wd-elements-12TB-WD120EMAZ.stats.txt Add aggregation for multiple measurements for better averaging 2020-05-30 14:16:33 -07:00

Overview

This set of scripts allows to gather performance & temperature data when running operations on disk. For example, I chose to run this when running badblocks -wsv /dev/my-disk -b 4096.

Preparation

You must run (in screen/tmux) stats.sh.

  1. modify stats.sh 'drive' to use your drive name (yeah, yeah, should be a parameter)
  2. run ./stats.sh | tee stats-output-file for however long you want

Run you command

badblocks -wsv /dev/sdg -b 4096

Draw graph

  1. Modify the filename with your stats in parse.py.
  2. Run ./plot.sh

Enjoy