FileSystem => 90% reports crazy values...

Hello,

I'm using a Script to monitor which FS are => to 90%

bash-2.05$ ssh mntnet df -h | grep % | awk'$5 >= 90 {print $6,$5}'

/opt/day 95%

/mnt 97%

=> it works fine !

But if the test value is <80 then I become crazy outputs...

bash-2.05$ ssh mntnet df -h | grep % | awk'$5 >= 79 {print $6,$5}'

/tmp 8%

/opt/day 95%

/mnt 97%

bash-2.05$ ssh mntnet df -h | grep % | awk'$5 >= 70 {print $6,$5}'

/tmp 8%

/opt/day 95%

/mnt 97%

=> Why /tmp ... it's only 8% ?!?!

Thanks in advance for your help !

[702 byte] By [@alex@] at [2007-11-26 10:37:20]
# 1
It was a Problem with the %...Here is the solution :ssh hostname df -h | grep % | sed 's/%/ /' | awk '$5 >= 30 {print $6,$5}'
@alex@ at 2007-7-7 2:48:20 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...