mirror of https://github.com/antmicro/sargraph.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
443 B
20 lines
443 B
#!/bin/bash |
|
|
|
pip install git+https://github.com/antmicro/servis#egg=servis[bokeh] |
|
dd if=/dev/zero of=$FAKE_DISK bs=1M count=130 |
|
mkfs.ext4 $FAKE_DISK |
|
mkdir -p $FAKE_MOUNTPOINT && mount $FAKE_DISK $FAKE_MOUNTPOINT |
|
|
|
sargraph chart start -m $FAKE_MOUNTPOINT |
|
|
|
pushd $FAKE_MOUNTPOINT |
|
df -h . |
|
stress -c 16 -i 1 -m 1 --vm-bytes 512M -d 1 --hdd-bytes 70M -t 160s |
|
|
|
popd |
|
|
|
sargraph chart save plot.html |
|
sargraph chart stop |
|
|
|
test -f plot.html |
|
cat chart.log |