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

iostat/sar - kB/s MB/s should be kiB/s and MiB/s #313

Open
Pitterling opened this issue Feb 21, 2022 · 4 comments
Open

iostat/sar - kB/s MB/s should be kiB/s and MiB/s #313

Pitterling opened this issue Feb 21, 2022 · 4 comments

Comments

@Pitterling
Copy link

as units are transformed by 1024 they should be correctly labeled according to IEC

https://simple.wikipedia.org/wiki/Kilobyte
https://simple.wikipedia.org/wiki/Megabyte
https://simple.wikipedia.org/wiki/Mebibyte

@sysstat
Copy link
Owner

sysstat commented Feb 22, 2022

Yep, you're not wrong... But I'm afraid that modifying fields names used by sysstat could break third-party programs or scripts that parse sysstat commands' output.
Anyway things have been made clear in sysstat man pages where we say that we actually use kibibytes, mebibytes, etc.

@junka
Copy link

junka commented Mar 23, 2022

I opened an issue related to this. Maybe we can change the values instead of the labels?
#316

@sysstat
Copy link
Owner

sysstat commented Mar 23, 2022

No, changing the values would also lead to confusion. No good solution for something which has been there for years.
I noticed that sysstat's FAQ was mute on this. I should probably add an entry about it...

@Pitterling
Copy link
Author

You could add 2 new options providing the correct label/value outputs.

sysstat added a commit that referenced this issue Mar 25, 2022
Make it clear that we actually use kibibytes, mebibytes, etc.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
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

No branches or pull requests

3 participants