17 lines
223 B
Bash
Executable File

#!/bin/bash
if [ -f "${0}.cnf" ]
then
devlist=`cat ${0}.cnf`
else
devlist="/"
fi
echo '<<<app-ioping>>>'
for dev in $devlist
do
#echo '<<<app-ioping-'$dev'>>>'
echo $dev `ioping -q -s 16k -D -c 3 -p 3 $dev`
done