blanks in an awk comand

Hi,

Im trying to write something that will report if a filesytem is over 80% but the problem is the output reports on a dir that is a 9%.

any ideas?

this is what I have

*************************************************
if [ -z "$1" ]
then
param=90
else
param=$1
fi
df -kl | grep -iv filesystem | awk ' { if ( $5 > "80%" || $5 >= p"%" ) { print }
}' p=$param -
exit 0
**************************************************
My output is as follows.

/dev/stand 56227 5017 51210 9% /stand
/dev/dsk/c0b0t0d2s1 17709056 14750200 2958856 84% /bi

This works for me....

df -kl | grep -iv filesystem | awk ' { sub( "%", "", $5 ) } { if ( $5 > 80 ) { $5 = $5"%"; print $0 } } '

Cheers
ZB