powerstat Command Examples

Measures the power consumption of a computer that has a battery power source or supports the RAPL interface. More information: https://manned.org/powerstat.

powerstat

powerstat {{interval}} {{number_of_samples}}

powerstat -R {{interval}} {{number_of_samples}}

powerstat -H {{interval}} {{number_of_samples}}

powerstat -a {{interval}} {{number_of_samples}}