]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Aug 2016 16:24:55 +0000 (10:24 -0600)
commit0b18e905e03170268aae3ce0dd0a94d8c84e73b6
tree29869000c2af926c357bae27f6b8b6e1592e6f4f
parent316892945fa7c498a8dc9c08e2a204803ece7950
tools/power turbostat: add --out option for saving output in a file

BugLink: http://bugs.launchpad.net/bugs/1591802
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: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c