Skip to content

Fix regex match for iostat output in zmstat-io - #79

Open
zx-fulvio wants to merge 1 commit into
Zimbra:developfrom
zx-fulvio:patch-4
Open

Fix regex match for iostat output in zmstat-io#79
zx-fulvio wants to merge 1 commit into
Zimbra:developfrom
zx-fulvio:patch-4

Conversation

@zx-fulvio

Copy link
Copy Markdown
Contributor

Pull request #64 fixed reading the output of iostat from version 11+, but it broke the output on systems running earlier versions of iostat.
On those now you can see a mismatch between the number of columns in the header and in the data section.
You can see columns in the header such as sdb:Device: which should not appeear. That's fixed with the small regex correction in this PR.

@jjakob

jjakob commented Apr 7, 2021

Copy link
Copy Markdown

I have the same sda:Device: columns appearing in the counter list after an upgrade. iostat -V shows "sysstat version 11.2.0".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants