Build precise queries to find exactly what you need
Press ESC to close
@fakej
Favorites0
Views
Projects0
Not sure if tps is equal to r/s + w/s. If so we can save 10s and avoid invoking iostat twice ~# diff check_iostat.sh /usr/lib/nagios/plugins/check_iostat.sh 86c86 samples=2i 186a187 > TMPD=`$iostat $disk -k -d 10 $samples | grep $disk | tail -1` 187a189 > tps=`echo "$TMPD" | awk '{print $2}'` 190d191
Reviewed 10 years ago