energy.1 - energy - measure energy usage HTML git clone git://bitreich.org/energy git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/energy DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- energy.1 (871B) --- 1 .Dd 2023 2 .Dt ENERGY 1 3 .Os 4 . 5 .Sh NAME 6 .Nm energy 7 .Nd measure energy usage of command 8 . 9 .Sh SYNOPSIS 10 .Nm 11 .Bk -words 12 .Ar COMMAND... 13 .Ek 14 . 15 .Sh DESCRIPTION 16 .Bd -filled 17 .Nm 18 shows the energy usage of a command, similarly to how 19 .Xr time 1 20 shows the time usage. The energy usage is printed to stderr and 21 reported in joules. 22 .Nm 23 automatically attempts to use whatever sensors are available. 24 Battery-based measurements are only used if the battery is 25 discharging. 26 . 27 .Sh BUGS 28 Yes. 29 .Nm 30 depends crucially on hardware counters, and there is no guarantee 31 these are an accurate reflection of the actual physical energy usage. 32 Apart from plain inaccuracy, the available counters may cover only a 33 subset of the hardware available in the system, and may not count the 34 energy usage of e.g. graphics cards or storage devices. 35 . 36 .Sh LICENSE 37 This program is released under the GPLv3 or later.