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

ERROR net.atomique.ksar.graph.Graph - CPU 0 col 11 is missing #230

Closed
ams-tschoening opened this issue Mar 23, 2021 · 3 comments
Closed

Comments

@ams-tschoening
Copy link
Contributor

Some of my SAR files contain lines like the following:

00:00:01        CPU      %usr     %nice      %sys   %iowait    %steal      %irq     %soft    %guest    %gnice     %idle
00:00:01        all      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
00:00:01          0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
00:00:01          1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
00:00:01          2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
00:00:01          3      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
00:00:01          4      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
00:00:01          5      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
00:00:01          6      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
00:00:01          7      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
00:05:01        all      4.49      0.00      1.01      6.60      0.00      0.00      0.09      0.00      0.00     87.80
00:05:01          0      1.13      0.00      0.82      1.47      0.00      0.00      0.08      0.00      0.00     96.50

As one can see, for some reason the column %idle is either missing entirely or simply moved left by one for some reason and %gnice is missing instead. In my opinion the latter is more likely according to the other lines, which always have 0.00 for %gnice and an %idle of slightly less than 100.00. That rows result in a lot of error messages on like the following:

10:33:50.236 [Thread-16] ERROR net.atomique.ksar.graph.Graph - CPU 0 col 11 is missing 00:00:01          0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
10:33:50.237 [Thread-16] ERROR net.atomique.ksar.graph.Graph - CPU 1 col 11 is missing 00:00:01          1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
10:33:50.237 [Thread-16] ERROR net.atomique.ksar.graph.Graph - CPU 2 col 11 is missing 00:00:01          2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
10:33:50.237 [Thread-16] ERROR net.atomique.ksar.graph.Graph - CPU 3 col 11 is missing 00:00:01          3      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
10:33:50.239 [Thread-16] ERROR net.atomique.ksar.graph.Graph - CPU 4 col 11 is missing 00:00:01          4      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
10:33:50.239 [Thread-16] ERROR net.atomique.ksar.graph.Graph - CPU 5 col 11 is missing 00:00:01          5      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
10:33:50.239 [Thread-16] ERROR net.atomique.ksar.graph.Graph - CPU 6 col 11 is missing 00:00:01          6      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00
10:33:50.239 [Thread-16] ERROR net.atomique.ksar.graph.Graph - CPU 7 col 11 is missing 00:00:01          7      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00    100.00

Does anyone know why this happens? Obviously the data generated is wrong already, but I didn't find any reason.

Is there some way in ksar to work around such problems? Like simply using column 10 as the missing column 11 and making column 10 having the value 0 instead?

@Pitterling
Copy link
Collaborator

please create this issue at sysstat repo
It seems to affect you in case all values are zero.

there is no workaround in ksar itself. You need to fix the input data as you pointed out

@ams-tschoening
Copy link
Contributor Author

ams-tschoening commented Mar 23, 2021

Your link seems wrong, I guess you meant the following:

https://github.com/sysstat/sysstat

I've created an issue: sysstat/sysstat#288

@Pitterling
Copy link
Collaborator

yes, of course :)

@Pitterling Pitterling modified the milestone: 5.2.4 Dec 23, 2021
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

2 participants