From a11fe1fbe7f099e02f267085eebe230a62594b65 Mon Sep 17 00:00:00 2001 From: "Harper, Jason M" Date: Wed, 8 Apr 2026 18:40:19 -0700 Subject: [PATCH] feature: extends fields in brief system summary table Signed-off-by: Harper, Jason M --- internal/app/app_tables.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/internal/app/app_tables.go b/internal/app/app_tables.go index 44a41f88..05afcb25 100644 --- a/internal/app/app_tables.go +++ b/internal/app/app_tables.go @@ -29,14 +29,22 @@ var TableDefinitions = map[string]table.TableDefinition{ script.LscpuCacheScriptName, script.LspciBitsScriptName, script.LspciDevicesScriptName, + script.CpuidScriptName, + script.BaseFrequencyScriptName, script.SpecCoreFrequenciesScriptName, script.MeminfoScriptName, + script.TransparentHugePagesScriptName, + script.NumaBalancingScriptName, script.NicInfoScriptName, script.DiskInfoScriptName, script.UnameScriptName, script.EtcReleaseScriptName, script.PackagePowerLimitName, script.EpbScriptName, + script.EppScriptName, + script.EppValidScriptName, + script.EppPackageControlScriptName, + script.EppPackageScriptName, script.ScalingDriverScriptName, script.ScalingGovernorScriptName, script.CstatesScriptName, @@ -64,16 +72,22 @@ func BriefSummaryTableValues(outputs map[string]script.ScriptOutput) []table.Fie {Name: "Sockets", Values: []string{extract.ValFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^Socket\(s\):\s*(.+)$`)}}, {Name: "Cores per Socket", Values: []string{extract.ValFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^Core\(s\) per socket:\s*(.+)$`)}}, {Name: "Hyperthreading", Values: []string{extract.HyperthreadingFromOutput(outputs)}}, + {Name: "Intel Turbo Boost", Values: []string{extract.TurboEnabledFromOutput(outputs)}}, {Name: "CPUs", Values: []string{extract.ValFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^CPU\(s\):\s*(.+)$`)}}, {Name: "NUMA Nodes", Values: []string{extract.ValFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^NUMA node\(s\):\s*(.+)$`)}}, {Name: "Scaling Driver", Values: []string{strings.TrimSpace(outputs[script.ScalingDriverScriptName].Stdout)}}, {Name: "Scaling Governor", Values: []string{strings.TrimSpace(outputs[script.ScalingGovernorScriptName].Stdout)}}, {Name: "C-states", Values: []string{extract.CstatesSummaryFromOutput(outputs)}}, + {Name: "Base Frequency", Values: []string{extract.BaseFrequencyFromOutput(outputs)}, Description: "The minimum guaranteed speed of a single core under standard conditions."}, {Name: "Maximum Frequency", Values: []string{extract.MaxFrequencyFromOutput(outputs)}, Description: "The highest speed a single core can reach with Turbo Boost."}, {Name: "All-core Maximum Frequency", Values: []string{extract.AllCoreMaxFrequencyFromOutput(outputs)}, Description: "The highest speed all cores can reach simultaneously with Turbo Boost."}, {Name: "Energy Performance Bias", Values: []string{extract.EPBFromOutput(outputs)}}, + {Name: "Energy Performance Preference", Values: []string{extract.EPPFromOutput(outputs)}}, {Name: "Efficiency Latency Control", Values: []string{extract.ELCSummaryFromOutput(outputs)}}, {Name: "Memory", Values: []string{memory}}, + {Name: "Hugepagesize", Values: []string{extract.ValFromRegexSubmatch(outputs[script.MeminfoScriptName].Stdout, `^Hugepagesize:\s*(.+?)$`)}}, + {Name: "Transparent Huge Pages", Values: []string{extract.ValFromRegexSubmatch(outputs[script.TransparentHugePagesScriptName].Stdout, `.*\[(.*)\].*`)}}, + {Name: "Automatic NUMA Balancing", Values: []string{extract.NumaBalancingFromOutput(outputs)}}, {Name: "NIC", Values: []string{extract.NICSummaryFromOutput(outputs)}}, {Name: "Disk", Values: []string{extract.DiskSummaryFromOutput(outputs)}}, {Name: "OS", Values: []string{extract.OperatingSystemFromOutput(outputs)}},