Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

zx-fulvio
Copy link
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
Copy link

jjakob commented Apr 7, 2021

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