[H-GEN] Format output - iostat

Kelvin Heng kelvinheng at hotmail.com
Thu Jul 3 02:40:31 EDT 2008


Hi everyone,
I need some help on formating the output of the iostat -x -d command on my linux machine.
As you can see from the 2nd line, "cciss/c0d0p1" and its data is actually on 2 separated lines. Is there any easy way for me to merge them as one line to be like 1st line, "cciss/c0d0"
 
Device:    rrqm/s wrqm/s   r/s   w/s  rsec/s  wsec/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %utilcciss/c0d0  10.35  19.35 19.11  5.85  235.64  201.71   117.82   100.85    17.52     0.68   27.11   1.92   4.80cciss/c0d0p1             0.00   0.00  0.00  0.01    0.00    0.02     0.00     0.01     3.25     0.00   52.31  50.88   0.04
Regards,
Kelvin Heng
_________________________________________________________________
Publish your photos to your Space easily with Photo Gallery.
http://www.get.live.com/wl/all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20080703/cc5f250e/attachment.html>


More information about the General mailing list