[H-GEN] Format output - iostat‏

Kelvin Heng kelvinheng at hotmail.com
Thu Jul 3 02:42:37 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  %util
cciss/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.80
cciss/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

Thanks for the help. :)

Regards,
Kelvin Heng
_________________________________________________________________
Easily manage multiple email accounts with Windows Live Mail!
http://www.get.live.com/wl/all




More information about the General mailing list