tools/power turbostat: Fix and document --header_iterations
authorLen Brown <len.brown@intel.com>
Fri, 13 Feb 2026 19:26:12 +0000 (13:26 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 13 Feb 2026 20:03:17 +0000 (14:03 -0600)
commit96718ad296af4a6d984b3a09276b165ab6a3b0c8
tree1eb0012f33a0aa96de283554372ea268bf10e452
parent8e5c0cc326f2e95a71bb6e6063e65caa60c8f951
tools/power turbostat: Fix and document --header_iterations

The "header_iterations" option is commonly used to de-clutter
the screen of redundant header label rows in an interactive session:
Eg. every 10 rows:

$ sudo turbostat --header_iterations 10 -S -q -i 1

But --header_iterations was missing from turbostat.8

Also turbostat help advertised the "-N" short option
that did not actually work:

$ turbostat --help
  -N, --header_iterations num
print header every num iterations

Repair "-N"
Document "--header_iterations" on turbostat.8

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c