Skip to content

Commit a11fe1f

Browse files
committed
feature: extends fields in brief system summary table
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
1 parent 4d9ad8a commit a11fe1f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

internal/app/app_tables.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,22 @@ var TableDefinitions = map[string]table.TableDefinition{
2929
script.LscpuCacheScriptName,
3030
script.LspciBitsScriptName,
3131
script.LspciDevicesScriptName,
32+
script.CpuidScriptName,
33+
script.BaseFrequencyScriptName,
3234
script.SpecCoreFrequenciesScriptName,
3335
script.MeminfoScriptName,
36+
script.TransparentHugePagesScriptName,
37+
script.NumaBalancingScriptName,
3438
script.NicInfoScriptName,
3539
script.DiskInfoScriptName,
3640
script.UnameScriptName,
3741
script.EtcReleaseScriptName,
3842
script.PackagePowerLimitName,
3943
script.EpbScriptName,
44+
script.EppScriptName,
45+
script.EppValidScriptName,
46+
script.EppPackageControlScriptName,
47+
script.EppPackageScriptName,
4048
script.ScalingDriverScriptName,
4149
script.ScalingGovernorScriptName,
4250
script.CstatesScriptName,
@@ -64,16 +72,22 @@ func BriefSummaryTableValues(outputs map[string]script.ScriptOutput) []table.Fie
6472
{Name: "Sockets", Values: []string{extract.ValFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^Socket\(s\):\s*(.+)$`)}},
6573
{Name: "Cores per Socket", Values: []string{extract.ValFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^Core\(s\) per socket:\s*(.+)$`)}},
6674
{Name: "Hyperthreading", Values: []string{extract.HyperthreadingFromOutput(outputs)}},
75+
{Name: "Intel Turbo Boost", Values: []string{extract.TurboEnabledFromOutput(outputs)}},
6776
{Name: "CPUs", Values: []string{extract.ValFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^CPU\(s\):\s*(.+)$`)}},
6877
{Name: "NUMA Nodes", Values: []string{extract.ValFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^NUMA node\(s\):\s*(.+)$`)}},
6978
{Name: "Scaling Driver", Values: []string{strings.TrimSpace(outputs[script.ScalingDriverScriptName].Stdout)}},
7079
{Name: "Scaling Governor", Values: []string{strings.TrimSpace(outputs[script.ScalingGovernorScriptName].Stdout)}},
7180
{Name: "C-states", Values: []string{extract.CstatesSummaryFromOutput(outputs)}},
81+
{Name: "Base Frequency", Values: []string{extract.BaseFrequencyFromOutput(outputs)}, Description: "The minimum guaranteed speed of a single core under standard conditions."},
7282
{Name: "Maximum Frequency", Values: []string{extract.MaxFrequencyFromOutput(outputs)}, Description: "The highest speed a single core can reach with Turbo Boost."},
7383
{Name: "All-core Maximum Frequency", Values: []string{extract.AllCoreMaxFrequencyFromOutput(outputs)}, Description: "The highest speed all cores can reach simultaneously with Turbo Boost."},
7484
{Name: "Energy Performance Bias", Values: []string{extract.EPBFromOutput(outputs)}},
85+
{Name: "Energy Performance Preference", Values: []string{extract.EPPFromOutput(outputs)}},
7586
{Name: "Efficiency Latency Control", Values: []string{extract.ELCSummaryFromOutput(outputs)}},
7687
{Name: "Memory", Values: []string{memory}},
88+
{Name: "Hugepagesize", Values: []string{extract.ValFromRegexSubmatch(outputs[script.MeminfoScriptName].Stdout, `^Hugepagesize:\s*(.+?)$`)}},
89+
{Name: "Transparent Huge Pages", Values: []string{extract.ValFromRegexSubmatch(outputs[script.TransparentHugePagesScriptName].Stdout, `.*\[(.*)\].*`)}},
90+
{Name: "Automatic NUMA Balancing", Values: []string{extract.NumaBalancingFromOutput(outputs)}},
7791
{Name: "NIC", Values: []string{extract.NICSummaryFromOutput(outputs)}},
7892
{Name: "Disk", Values: []string{extract.DiskSummaryFromOutput(outputs)}},
7993
{Name: "OS", Values: []string{extract.OperatingSystemFromOutput(outputs)}},

0 commit comments

Comments
 (0)