Tracing: measure IO during each job
Using iostat from package sysstat
This commit is contained in:
parent
8d67b90a2e
commit
d26a93319c
3 changed files with 38 additions and 0 deletions
4
schutzbot/start_iostats.sh
Executable file
4
schutzbot/start_iostats.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
sudo dnf install -y sysstat
|
||||
iostat -y -x -o JSON 5 > iostats.json &
|
||||
echo "PERFLOG $(date --rfc-3339=seconds) starting iostat"
|
||||
5
schutzbot/stop_iostats.sh
Executable file
5
schutzbot/stop_iostats.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
killall -s SIGINT iostat
|
||||
sleep 10
|
||||
killall iostat || true
|
||||
echo "PERFLOG $(date --rfc-3339=seconds) stopping iostat"
|
||||
Loading…
Add table
Add a link
Reference in a new issue