#!/bin/dash
while true; do
	cat /proc/io_status
	I=`io_tokens`
	if [ "$I" -lt 1000 ]; then
		xmessage "io tokens too low: $I"
	fi
	sleep 10
done
