iostat error

iostat -d hdisk4 1 1

System configuration: lcpu=4 drives=3 paths=6 vdisks=2

Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk4 0.0 0.0 0.0 0 0

tps is the 4th parameter
Kb_read is the 5th parameter
Kb_wrtn is the 6th parameter

The following line :

IOSTAT_PERF=`/usr/bin/iostat -d $HDISK 1 1| grep hdisk| awk ‘{print $1″_Busy=”$2″;”‘$WARNING'”;”‘$CRITICAL'” “$1″_tps=”$3” “$1″_KbRd=”$
4” “$1″_KbWt=”$5}’`

must be replace by :

IOSTAT_PERF=`/usr/bin/iostat -d $HDISK 1 1| grep hdisk| awk ‘{print $1″_Busy=”$2″;”‘$WARNING'”;”‘$CRITICAL'” “$1″_tps=”$4” “$1″_KbRd=”$
5” “$1″_KbWt=”$6}’`