if [ $rate -lt $DISK_IO_THRESHOLD ]; then
# Below threshold, don't print
rate=0
But I have another problem. For some reason, on Debian 11, the disk_io plugin stopped working. I traced it concretely to the line
[ -r "$cache" ] && read x1 < "$cache" || x1=0
which I changed thus and it started working again:
Hi!
I think the solution is as easy as:
if [ $rate -lt $DISK_IO_THRESHOLD ]; then
# Below threshold, don't print
rate=0
But I have another problem. For some reason, on Debian 11, the disk_io plugin stopped working. I traced it concretely to the line
[ -r "$cache" ] && read x1 < "$cache" || x1=0
which I changed thus and it started working again:
[ -r "$cache" ] && x1=$( cat "$cache") || x1=0