moved gstat outside of loop again
This commit is contained in:
@@ -23,9 +23,11 @@ echo "Starting ['gstat','iostat','zpool','cpu','nic'] Collection"
|
||||
echo ""
|
||||
echo -n "minute:"
|
||||
|
||||
|
||||
timeout ${minutes}m gstat -C -s -d -o -p -I 60s >> gstat.csv &
|
||||
|
||||
for (( i=1; i<=$minutes; i++ )); do
|
||||
|
||||
timeout 2s gstat -C -s -d -o -p -I 60s >> gstat.csv &
|
||||
python3 zpooliostat.py
|
||||
python3 iostat.py
|
||||
python3 topstat.py
|
||||
|
||||
Reference in New Issue
Block a user