Bug 695499

Summary: Resizing device column in iostat to size of larges lvm device name
Product: [Fedora] Fedora Reporter: G. Michael Carter <mikey>
Component: sysstatAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: varekova
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-02 14:17:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description G. Michael Carter 2011-04-11 21:19:58 UTC
As far as reports go this is rather hard to read.  Can we get the Device column to size based on the longest name?


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sdb             215.50    61.75  340.00   53.75    33.38     0.42   175.78     5.72   25.39   2.51  98.92
sdc               0.00    39.00   20.50   24.50     0.06     0.21    11.98     0.07    1.54   1.46   6.55
sda               0.00     0.25   18.50    0.50     0.08     0.00     8.71     0.07    3.43   1.74   3.30
sde               0.00     0.00   15.00    0.00     0.03     0.00     4.73     0.04    2.45   0.83   1.25
sdf               0.00   218.75    5.00  324.75     0.03    33.34   207.23     0.36    1.09   0.82  27.07
LiandraStore-Home     0.00     0.00    7.25   37.25     0.03     0.13     7.51     4.98  537.54  13.85  61.62
LiandraStore-Root     0.00     0.00    6.25    0.75     0.02     0.00     8.00     0.01    0.89   0.75   0.53
LiandraStore-SWAP_Balanced     0.00     0.00    6.25    0.00     0.02     0.00     8.00     0.05    8.32   5.64   3.52
LiandraStore-VirtualMachines     0.00     0.00    5.00  125.75     0.02     0.46     7.59     3.36   25.67   7.61  99.47
LiandraStore-MassMedia     0.00     0.00    5.00    0.00     0.00     0.00     1.60     0.02    3.40   1.20   0.60
LiandraStore-Old--Liandra     0.00     0.00    5.00    0.00     0.00     0.00     1.60     0.00    0.25   0.15   0.07
LiandraStore-Backups     0.00     0.00    5.00    0.00     0.02     0.00     8.00     0.00    0.30   0.15   0.07
LiandraStore-LiveCD     0.00     0.00    5.00    0.00     0.02     0.00     8.00     0.01    2.25   0.70   0.35
LiandraStore-iTunes_Media     0.00     0.00    5.00    0.00     0.00     0.00     1.60     0.02    4.40   1.10   0.55
LiandraStore-DVD--Working     0.00     0.00    1.50    0.00     0.00     0.00     1.00     0.01    3.00   1.50   0.23
LiandraStore-pvmove0     0.00     0.00    7.25   37.75     0.03     0.13     7.42     4.98  531.57  13.69  61.62

Comment 1 Ivana Varekova 2011-05-02 14:17:06 UTC
This problem is fixed in version sysstat-10.0.0-3.fc16 (iostat contains -h option which indent the lines).