Is this what you want:
onstat -u|awk '{print $0, ($9+$10)}'|sort -rnk11|head -n 10
On Sat, Jan 29, 2011 at 4:51 PM, joe <joeclhua (AT) gmail (DOT) com> wrote:
Quote:
How to get top 10 i/o busy session by running
'onstat -u' and order by " nreads+nwrites" column that addition
values of "nreads and nwrites"
onstat -u | sort -rnk9 | head -n5
will get top 5 nreads sessions
onstat -u | sort -rnk10| head -n5
will get top 5 nwrites sessions
_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list |