intel / intel/S0ixSelftestTool

turbostat misses some fields

Open
#27 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
213
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Hello on my Ubuntu 22.04 system the "turbostat" program does not output all the requested columns, which breaks the parsing of its output at line 1154. You can see in this sample that `GFX%rc6 and Pkg%pc7 are missing:
```
$ TURBO_COLUMNS="CPU%c1,CPU%c6,CPU%c7,GFX%rc6,Pkg%pc2,Pkg%pc3,Pkg%pc6,Pkg%pc7,Pkg%pc8,Pkg%pc9,Pk%pc10,SYS%LPI"
$ sudo ./turbostat --quiet --show "$TURBO_COLUMNS"
CPU%c1 CPU%c6 CPU%c7 Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc8 Pk%pc10 SYS%LPI
3.70 55.25 20.25 0.07 0.02 0.00 0.00 0.00 0.00
7.31 29.69 34.46 0.07 0.02 0.00 0.00 0.00 0.00
7.31
3.18 19.23 53.53
3.18
4.18 15.46 48.20
4.18
3.12 19.95 44.34
3.12
2.87 16.67 56.68
2.87
4.83 20.75 46.25
4.83
2.55 80.50 0.00
2.39 82.21 0.00
1.13 85.01 0.00
1.07 86.04 0.00
5.00 78.17 0.00
3.24 81.14 0.00
3.49 80.29 0.00
4.08 78.42 0.00
```
I'm not sure which is the best way to work around this issue

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.