learning awk. neat :) produce an average idle time from captured output of a solaris vmstat:
grep -v swap vmstat.txt | grep -v memory | awk '{s += $22} END { print 'sum-',s,' avg-',s/NR}'
« ftp-less file xfer hack | Main | !frames »
learning awk. neat :) produce an average idle time from captured output of a solaris vmstat:
grep -v swap vmstat.txt | grep -v memory | awk '{s += $22} END { print 'sum-',s,' avg-',s/NR}'
This page contains a single entry from the blog
The previous post in this blog was ftp-less file xfer hack.
The next post in this blog is !frames.
Many more can be found on the main index page or by looking through the archives.