DOKK / manpages / debian 10 / powercap-utils / powercap-info.1.en
powercap-info(1) powercap-info powercap-info(1)

powercap-info - get information from the Linux power capping framework

powercap-info -p NAME [OPTION]...

Prints configurations for a powercap control type.

Prints the help screen
Print errors when files are not available
[REQUIRED] The powercap control type name. Must not be empty or contain a '.' or '/'.
The zone/subzone numbers in the control type's powercap tree (control type's root by default). Separate zones/subzones with a colon. E.g., for zone 0, subzone 2:
-z 0:2
Ending with a colon prevents output for subzones. E.g., for zone 0, but not subzones:
-z 0:
The constraint number
Print the number of zones (control type's root by default; within the -z/--zone level, if set)

The following are zone-level arguments and require -z/--zone:

Print zone energy counter
Print zone maximum energy counter range
Print zone current power
Print zone maximum current power range
Print zone enable/disabled status
Print zone name

The following are constraint-level arguments and require -z/--zone and -c/--constraint:

Print constraint power limit
Print constraint time window
Print constraint maximum allowed power
Print constraint minimum allowed power
Print constraint maximum allowed time window
Print constraint minimum allowed time window
Print constraint name

These examples use Intel RAPL, for which the control type is intel-rapl.

Print all RAPL zones.
Print only zone 0, which is usually named package-0.
Print zone 0, subzone 1, which is usually the uncore or dram subzone of package-0, depending on the system.
Print zone 0, constraint 1, which is usually the short_term constraint for package-0.
Print the energy counter for zone 0, which is usually named package-0.
Print the power limit for zone 1, subzone 0, constraint 0, which is usually the long_term constraint for the core subzone of package-1 (a multi-socket system).

Some fields are optional and will only be printed if they are available unless -v/--verbose is set.
If no subzone/constraint-specific outputs are requested, all available zones and constraints will be shown.

Energy units: microjoules (uJ)
Power units: microwatts (uW)
Time units: microseconds (us)

Report bugs upstream at <https://github.com/powercap/powercap>

/sys/devices/virtual/powercap/*

/sys/class/powercap/*

Connor Imes <connor.k.imes@gmail.com>

powercap-set(1), rapl-info(1), rapl-set(1)

2017-09-20 powercap