pcp
[Top] [All Lists]

iostat2pcp broken for iostat in RHEL/fedora

To: pcp <pcp@xxxxxxxxxxx>
Subject: iostat2pcp broken for iostat in RHEL/fedora
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed, 08 Oct 2014 17:40:51 +1100
Cc: Bud Brown <bubrown@xxxxxxxxxx>, Laurence Oberman <loberman@xxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
iostat2pcp doesn't seem to like the iostat output on various
RHEL and Fedora flavours - this was reported by Bud Brown here
at Red Hat (cc:'d). Any idea what's wrong anyone?

qa/373 works but it's using output captured from some other iostat
version, not the locally installed iostat - the latter would be
a better test no doubt ...

$ iostat -t -x 2 10 > iostat.10
$ iostat2pcp iostat.10 iostat.pcp
[26] Time: 03:49:59 PM
Device: number of values? expected 12, found 3


$ more iostat.10
Linux 2.6.18-371.9.1.el5 (somehost.redhat.com)    10/07/2014

Time: 03:49:57 PM
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           19.09    0.04    8.10    1.06    0.00   71.71

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.17 27.04 4.82 4.64 63.77 254.59 33.67 0.14 15.26 3.45 3.26 sda1 0.00 0.00 0.00 0.00 0.00 0.00 13.34 0.00 1.27 1.25 0.00 sda2 0.00 0.00 0.00 0.00 0.00 0.00 14.72 0.00 2.01 2.01 0.00 sda3 0.00 0.00 0.00 0.00 0.00 0.00 13.40 0.00 2.34 2.34 0.00 sda4 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 2.00 2.00 0.00 sda5 0.17 27.04 4.82 4.64 63.77 254.59 33.67 0.14 15.26 3.45 3.26 sda6 0.00 0.00 0.00 0.00 0.00 0.00 19.97 0.00 9.25 9.13 0.00 sdb 0.24 84.28 0.90 66.04 34.03 1202.56 18.47 0.04 0.60 0.21 1.44 sdb1 0.00 0.00 0.00 0.00 1.11 0.01 868.25 0.00 40.23 37.23 0.00 sdb2 0.16 0.34 0.05 0.02 9.69 2.88 177.91 0.00 61.21 4.63 0.03 sdb3 0.08 83.92 0.73 66.02 22.29 1199.46 18.30 0.03 0.51 0.21 1.37 sdb4 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 6.42 6.42 0.00 sdb5 0.00 0.02 0.12 0.01 0.94 0.22 9.36 0.00 9.94 3.71 0.05 dm-0 0.00 0.00 0.12 0.03 0.94 0.22 8.00 0.00 17.80 3.18 0.05 dm-1 0.00 0.00 0.00 0.00 0.00 0.00 7.99 0.00 5.83 2.42 0.00 dm-2 0.00 0.00 4.40 30.36 49.75 242.86 8.42 0.15 4.43 0.94 3.27 dm-3 0.00 0.00 0.59 1.34 14.01 11.73 13.32 0.26 136.46 0.28 0.05

Time: 03:49:59 PM
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           14.62    0.00   10.88    0.00    0.00   74.50

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sda3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sda4 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sda5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sda6 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sdb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sdb1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sdb2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sdb3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sdb4 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 sdb5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00

<Prev in Thread] Current Thread [Next in Thread>