Why does turbostat exits with “Invalid Counter name“ when --show contains any of column from sysfs c-state counter?

Solution Verified - Updated -

Issue

  • Why does turbostat exits with Invalid Counter name when --show contains any of column from sysfs c-state counter?
# turbostat --list
usec,Time_Of_Day_Seconds,Package,Core,CPU,APIC,X2APIC,Avg_MHz,Busy%,Bzy_MHz,TSC_MHz,IPC,IRQ,SMI,POLL,C1,C1E,C3,C6,POLL%,C1%,C1E%,C3%,C6%,CPU%c1,CPU%c3,CPU%c6,CPU%c7,CoreTmp,PkgTmp,Pkg%pc2,Pkg%pc3,PkgWatt,RAMWatt,PKG_%,RAM_%

# turbostat --list --show sysfs
POLL,C1,C1E,C3,C6,POLL%,C1%,C1E%,C3%,C6%

# for i in `turbostat --list --show sysfs|sed 's/,/ /g'`;do turbostat  --show $i;done
Invalid counter name: POLL
Invalid counter name: C1
Invalid counter name: C1E
Invalid counter name: C3
Invalid counter name: C6
Invalid counter name: POLL%
Invalid counter name: C1%
Invalid counter name: C1E%
Invalid counter name: C3%
Invalid counter name: C6%

Environment

  • Red Hat Enterprise Linux 6.
  • Red Hat Enterprise Linux 7.
  • Red Hat Enterprise Linux 8.
  • Red Hat Enterprise Linux 9.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content