Hi guys,
----- Original Message -----
> 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?
Yep...
> 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
It looks like iostat2pcp doesn't understand this timestamp format,
and the parser is attempting to treat the line "Time: 03:49:59 PM"
as a set of device values. Is LC_TIME set in the environment when
iostat is being run?
And which version of iostat being used? (rhel5 in output - is it
an old version?) I think we can attempt to cater for this output
form, but it's worth reading the iostat2pcp(1) man page, from the
section starting:
"The best results are obtained when iostat(1) was run with [...]"
cheers.
--
Nathan
|