diff options
author | Len Brown <len.brown@intel.com> | 2017-02-10 00:25:41 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-02-25 16:52:28 -0500 |
commit | 812db3f77b9a3f6ed59baf7a0d5c3fd8ec8ef86a (patch) | |
tree | ce938c6bdc3a2ca51bd7a3b59bcd1d78ac8f5796 /tools/power/x86/turbostat/turbostat.8 | |
parent | tools/power turbostat: fix bugs in --add option (diff) | |
download | linux-dev-812db3f77b9a3f6ed59baf7a0d5c3fd8ec8ef86a.tar.xz linux-dev-812db3f77b9a3f6ed59baf7a0d5c3fd8ec8ef86a.zip |
tools/power turbostat: Add --show and --hide parameters
Add the "--show" and "--hide" cmdline parameters.
By default, turbostat shows all columns.
turbostat --hide counter_list
will continue showing all columns, except for those listed.
turbostat --show counter_list
will show _only_ the listed columns
These features work for built-in counters, and have no effect
on columns added with the --add parameter.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat/turbostat.8')
-rw-r--r-- | tools/power/x86/turbostat/turbostat.8 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.8 b/tools/power/x86/turbostat/turbostat.8 index 03cb639b292e..e8fb1e02d121 100644 --- a/tools/power/x86/turbostat/turbostat.8 +++ b/tools/power/x86/turbostat/turbostat.8 @@ -47,6 +47,10 @@ name as necessary to disambiguate it from others is necessary. Note that option default: delta .fi .PP +\fB--hide column\fP do not show the specified columns. May be invoked multiple times, or with a comma-separated list of column names. +.PP +\fB--show column\fP show only the specified columns. May be invoked multiple times, or with a comma-separated list of column names. +.PP \fB--Dump\fP displays the raw counter values. .PP \fB--debug\fP displays additional system configuration information. Invoking this parameter |