I have displayed & tabbed 4 important columns of output from "iostat -xtc 2 10" as follows
iostat -xtc 2 10 | awk '{printf("%\t%s\t%s\t%s\t%s\n",$1,$2,$3,$8)}'
1) I would now like to discard all lines that show
0.0 0.0 0.0 0.0
2) or, only display anything greater than 30 in any column
Any help appreciated
iostat -xtc 2 10 | awk '{printf("%\t%s\t%s\t%s\t%s\n",$1,$2,$3,$8)}'
1) I would now like to discard all lines that show
0.0 0.0 0.0 0.0
2) or, only display anything greater than 30 in any column
Any help appreciated