]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: add --out option for saving output in a file
authorLen Brown <len.brown@intel.com>
Sun, 14 Feb 2016 04:36:17 +0000 (23:36 -0500)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 20:11:07 +0000 (15:11 -0500)
commit8fa367e74e84db0855d98bf579885f44b7a8daf0
tree1d21641d0b410817cbf3f630ab7ffdfae7f75a2a
parent5e64abe32e1ac100b8cd1a90ce364509aeafb4f2
tools/power turbostat: add --out option for saving output in a file

Orabug: 24811361

By default...

Turbostat --debug gconfiguration info goes to stderr.

In FORK mode, turbostat statistics go to stderr.

In PERIODIC mode, turbostat statistics go to stdout.

These defaults do not change, but an option "--out file"
will send all output above only to the specified file.

Signed-off-by: Len Brown <len.brown@intel.com>
(cherry picked from commit b7d8c1483bbf6ec9d2dd76d6a1c91a38c3f6ac35)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c