Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions internal/app/app_tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)}},
Expand Down
Loading