Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

fakej

Reviews(1)
byfakej, July 2, 2015
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