zetoniak
Dabbler
- Joined
- May 14, 2015
- Messages
- 27
Hi, i'm trying to make a script for monitor perfomance while performing the test for take the ouput, but with zpool iostat if i make just "zpool iostat" it gives me a unreald banwith value, almost same on every output.
Any suggestions for the perfomance monitoring?
===========
#!/bin/bash
snooze=2
run=true
while [[ "$run" == "true" ]]; do
echo ""
echo ""
date +"[%d-%h-%y %H:%M:%S]"
#Perfomance output
zpool iostat
arcstat.py -f read,hits,miss,hit%,arcsz
sleep $snooze
done
snooze=2
run=true
while [[ "$run" == "true" ]]; do
echo ""
echo ""
date +"[%d-%h-%y %H:%M:%S]"
#Perfomance output
zpool iostat
arcstat.py -f read,hits,miss,hit%,arcsz
sleep $snooze
done