Everything works great except I have a volume with 3% usage. AWK in my usage of it only appears to evalute the first number of the “20%”.
I have looked around the net some for a resolution to this and read some documentation. I know that it is something simple I am overlooking, but you folks look like you know what you are doing and are active so I ask; What usage of AWK should I implement to make 1 !> 10.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
Hello, I have been playing with AWK a little and have this line.
df -h | grep / | grep % | awk '$(NF-1) >= "20%" {print $NF,": ", $(NF-1)}'Everything works great except I have a volume with 3% usage. AWK in my usage of it only appears to evalute the first number of the “20%”.
I have looked around the net some for a resolution to this and read some documentation. I know that it is something simple I am overlooking, but you folks look like you know what you are doing and are active so I ask; What usage of AWK should I implement to make 1 !> 10.
Thanks in advance.
–Sydney
Reply To This Comment