tools/power turbostat: add --cpu parameter
authorLen Brown <len.brown@intel.com>
Sat, 11 Feb 2017 04:54:15 +0000 (23:54 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 1 Mar 2017 05:14:22 +0000 (00:14 -0500)
commit1ef7d21afe2197013aefe0e93641aa2c5a9ac3db
tree091ee74fcf0fae2aee8b70dafebdd409f6001cdd
parent41618e63f2a869902f8534f0db337e85d6bd04c8
tools/power turbostat: add --cpu parameter

With the --cpu parameter, turbostat prints only lines
for the specified set of CPUs:

sudo ./turbostat --quiet --show Core,CPU --cpu 0,1,3..5,6-7
Core CPU
- -
0 0
0 4
1 1
1 5
2 6
3 3
3 7

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