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

Not fit sysstat version >= 11 #3

Closed
duke5 opened this issue Sep 24, 2021 · 4 comments
Closed

Not fit sysstat version >= 11 #3

duke5 opened this issue Sep 24, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@duke5
Copy link

duke5 commented Sep 24, 2021

With CentOS 8.3 built-in sysstat version is 11.7.3-5.el8
sub items does not work
aaab

@t2y
Copy link
Owner

t2y commented Sep 24, 2021

Thank you for reporting.

I confirmed iostat outputs on CentOS 8.3.

$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 8.3.2011
Release:	8.3.2011
Codename:	n/a

$ uname -ar
Linux localhost.localdomain 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ iostat -V
sysstat version 11.7.3
(C) Sebastien Godard (sysstat <at> orange.fr)
$ iostat -ymxt 1 
Linux 4.18.0-240.1.1.el8_3.x86_64 (localhost.localdomain) 	09/24/2021 	_x86_64_	(1 CPU)

09/24/2021 11:45:19 AM
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00    0.00    0.00    0.00    0.01

Device            r/s     w/s     rMB/s     wMB/s   rrqm/s   wrqm/s  %rrqm  %wrqm r_await w_await aqu-sz rareq-sz wareq-sz  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     0.00     0.00   0.00   0.00

There was below log format when I made this tool. It seems the log format was changed in new iostat version.

Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
sdd               0.07    45.88    1.57    0.59     0.08     0.18   246.55     0.26  121.04    1.28  436.94   2.07   0.45
sdh               0.07    45.78    1.59    0.60     0.08     0.18   245.64     0.22  101.97    1.17  367.51   1.89   0.41
sdb               0.25    74.42    5.70    0.87     0.57     0.29   268.00     0.32   49.24   38.06  123.00   1.83   1.20

@t2y t2y self-assigned this Sep 24, 2021
@t2y t2y added the bug Something isn't working label Sep 24, 2021
@t2y
Copy link
Owner

t2y commented Sep 26, 2021

The iostat-tool parser expects Device: as an identifier, but the new iostat version outputs Device. There is no :(colon).

Then, I found there are new columns.

  • aqu-sz
  • rareq-sz
  • wareq-sz
  • %rrqm
  • %wrqm

There are no columns in the new iostat version output.

  • avgrq-sz
  • avgqu-sz
  • await

@t2y
Copy link
Owner

t2y commented Sep 26, 2021

$ man iostat
              %rrqm
                     The percentage of read requests merged together before being sent to the device.

              %wrqm
                     The percentage of write requests merged together before being sent to the device.

              areq-sz
                     The average size (in kilobytes) of the I/O requests that were issued to the device.
                     Note: In previous versions, this field was known as avgrq-sz and was expressed in sectors.

              rareq-sz
                     The average size (in kilobytes) of the read requests that were issued to the device.

              wareq-sz
                     The average size (in kilobytes) of the write requests that were issued to the device.

              aqu-sz
                     The average queue length of the requests that were issued to the device.
                     Note: In previous versions, this field was known as avgqu-sz.

@t2y
Copy link
Owner

t2y commented Sep 26, 2021

I fixed it in 0.3.0. Tell me if you still have some trouble.

@t2y t2y closed this as completed Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants