diff options
Diffstat (limited to 'tools/power/cpupower/man')
-rw-r--r-- | tools/power/cpupower/man/cpupower-frequency-info.1 | 76 | ||||
-rw-r--r-- | tools/power/cpupower/man/cpupower-frequency-set.1 | 54 | ||||
-rw-r--r-- | tools/power/cpupower/man/cpupower-info.1 | 19 | ||||
-rw-r--r-- | tools/power/cpupower/man/cpupower-monitor.1 | 179 | ||||
-rw-r--r-- | tools/power/cpupower/man/cpupower-set.1 | 103 | ||||
-rw-r--r-- | tools/power/cpupower/man/cpupower.1 | 72 |
6 files changed, 503 insertions, 0 deletions
diff --git a/tools/power/cpupower/man/cpupower-frequency-info.1 b/tools/power/cpupower/man/cpupower-frequency-info.1 new file mode 100644 index 00000000000..bb60a8d1e45 --- /dev/null +++ b/tools/power/cpupower/man/cpupower-frequency-info.1 | |||
@@ -0,0 +1,76 @@ | |||
1 | .TH "cpupower-frequency-info" "1" "0.1" "Mattia Dongili" "" | ||
2 | .SH "NAME" | ||
3 | .LP | ||
4 | cpupower frequency\-info \- Utility to retrieve cpufreq kernel information | ||
5 | .SH "SYNTAX" | ||
6 | .LP | ||
7 | cpupower [ \-c cpulist ] frequency\-info [\fIoptions\fP] | ||
8 | .SH "DESCRIPTION" | ||
9 | .LP | ||
10 | A small tool which prints out cpufreq information helpful to developers and interested users. | ||
11 | .SH "OPTIONS" | ||
12 | .LP | ||
13 | .TP | ||
14 | \fB\-e\fR \fB\-\-debug\fR | ||
15 | Prints out debug information. | ||
16 | .TP | ||
17 | \fB\-f\fR \fB\-\-freq\fR | ||
18 | Get frequency the CPU currently runs at, according to the cpufreq core. | ||
19 | .TP | ||
20 | \fB\-w\fR \fB\-\-hwfreq\fR | ||
21 | Get frequency the CPU currently runs at, by reading it from hardware (only available to root). | ||
22 | .TP | ||
23 | \fB\-l\fR \fB\-\-hwlimits\fR | ||
24 | Determine the minimum and maximum CPU frequency allowed. | ||
25 | .TP | ||
26 | \fB\-d\fR \fB\-\-driver\fR | ||
27 | Determines the used cpufreq kernel driver. | ||
28 | .TP | ||
29 | \fB\-p\fR \fB\-\-policy\fR | ||
30 | Gets the currently used cpufreq policy. | ||
31 | .TP | ||
32 | \fB\-g\fR \fB\-\-governors\fR | ||
33 | Determines available cpufreq governors. | ||
34 | .TP | ||
35 | \fB\-a\fR \fB\-\-related\-cpus\fR | ||
36 | Determines which CPUs run at the same hardware frequency. | ||
37 | .TP | ||
38 | \fB\-a\fR \fB\-\-affected\-cpus\fR | ||
39 | Determines which CPUs need to have their frequency coordinated by software. | ||
40 | .TP | ||
41 | \fB\-s\fR \fB\-\-stats\fR | ||
42 | Shows cpufreq statistics if available. | ||
43 | .TP | ||
44 | \fB\-y\fR \fB\-\-latency\fR | ||
45 | Determines the maximum latency on CPU frequency changes. | ||
46 | .TP | ||
47 | \fB\-o\fR \fB\-\-proc\fR | ||
48 | Prints out information like provided by the /proc/cpufreq interface in 2.4. and early 2.6. kernels. | ||
49 | .TP | ||
50 | \fB\-m\fR \fB\-\-human\fR | ||
51 | human\-readable output for the \-f, \-w, \-s and \-y parameters. | ||
52 | .TP | ||
53 | \fB\-h\fR \fB\-\-help\fR | ||
54 | Prints out the help screen. | ||
55 | .SH "REMARKS" | ||
56 | .LP | ||
57 | By default only values of core zero are displayed. How to display settings of | ||
58 | other cores is described in the cpupower(1) manpage in the \-\-cpu option section. | ||
59 | .LP | ||
60 | You can't specify more than one of the output specific options \-o \-e \-a \-g \-p \-d \-l \-w \-f \-y. | ||
61 | .LP | ||
62 | You also can't specify the \-o option combined with the \-c option. | ||
63 | .SH "FILES" | ||
64 | .nf | ||
65 | \fI/sys/devices/system/cpu/cpu*/cpufreq/\fP | ||
66 | \fI/proc/cpufreq\fP (deprecated) | ||
67 | \fI/proc/sys/cpu/\fP (deprecated) | ||
68 | .fi | ||
69 | .SH "AUTHORS" | ||
70 | .nf | ||
71 | Dominik Brodowski <linux@brodo.de> \- author | ||
72 | Mattia Dongili<malattia@gmail.com> \- first autolibtoolization | ||
73 | .fi | ||
74 | .SH "SEE ALSO" | ||
75 | .LP | ||
76 | cpupower\-frequency\-set(1), cpupower(1) | ||
diff --git a/tools/power/cpupower/man/cpupower-frequency-set.1 b/tools/power/cpupower/man/cpupower-frequency-set.1 new file mode 100644 index 00000000000..685f469093a --- /dev/null +++ b/tools/power/cpupower/man/cpupower-frequency-set.1 | |||
@@ -0,0 +1,54 @@ | |||
1 | .TH "cpupower-freqency-set" "1" "0.1" "Mattia Dongili" "" | ||
2 | .SH "NAME" | ||
3 | .LP | ||
4 | cpupower frequency\-set \- A small tool which allows to modify cpufreq settings. | ||
5 | .SH "SYNTAX" | ||
6 | .LP | ||
7 | cpupower [ \-c cpu ] frequency\-set [\fIoptions\fP] | ||
8 | .SH "DESCRIPTION" | ||
9 | .LP | ||
10 | cpupower frequency\-set allows you to modify cpufreq settings without having to type e.g. "/sys/devices/system/cpu/cpu0/cpufreq/scaling_set_speed" all the time. | ||
11 | .SH "OPTIONS" | ||
12 | .LP | ||
13 | .TP | ||
14 | \fB\-d\fR \fB\-\-min\fR <FREQ> | ||
15 | new minimum CPU frequency the governor may select. | ||
16 | .TP | ||
17 | \fB\-u\fR \fB\-\-max\fR <FREQ> | ||
18 | new maximum CPU frequency the governor may select. | ||
19 | .TP | ||
20 | \fB\-g\fR \fB\-\-governor\fR <GOV> | ||
21 | new cpufreq governor. | ||
22 | .TP | ||
23 | \fB\-f\fR \fB\-\-freq\fR <FREQ> | ||
24 | specific frequency to be set. Requires userspace governor to be available and loaded. | ||
25 | .TP | ||
26 | \fB\-r\fR \fB\-\-related\fR | ||
27 | modify all hardware-related CPUs at the same time | ||
28 | .TP | ||
29 | \fB\-h\fR \fB\-\-help\fR | ||
30 | Prints out the help screen. | ||
31 | .SH "REMARKS" | ||
32 | .LP | ||
33 | By default values are applied on all cores. How to modify single core | ||
34 | configurations is described in the cpupower(1) manpage in the \-\-cpu option section. | ||
35 | .LP | ||
36 | The \-f FREQ, \-\-freq FREQ parameter cannot be combined with any other parameter. | ||
37 | .LP | ||
38 | FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz by postfixing the value with the wanted unit name, without any space (frequency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000). | ||
39 | .LP | ||
40 | On Linux kernels up to 2.6.29, the \-r or \-\-related parameter is ignored. | ||
41 | .SH "FILES" | ||
42 | .nf | ||
43 | \fI/sys/devices/system/cpu/cpu*/cpufreq/\fP | ||
44 | \fI/proc/cpufreq\fP (deprecated) | ||
45 | \fI/proc/sys/cpu/\fP (deprecated) | ||
46 | .fi | ||
47 | .SH "AUTHORS" | ||
48 | .nf | ||
49 | Dominik Brodowski <linux@brodo.de> \- author | ||
50 | Mattia Dongili<malattia@gmail.com> \- first autolibtoolization | ||
51 | .fi | ||
52 | .SH "SEE ALSO" | ||
53 | .LP | ||
54 | cpupower\-frequency\-info(1), cpupower(1) | ||
diff --git a/tools/power/cpupower/man/cpupower-info.1 b/tools/power/cpupower/man/cpupower-info.1 new file mode 100644 index 00000000000..58e21196f17 --- /dev/null +++ b/tools/power/cpupower/man/cpupower-info.1 | |||
@@ -0,0 +1,19 @@ | |||
1 | .TH CPUPOWER\-INFO "1" "22/02/2011" "" "cpupower Manual" | ||
2 | .SH NAME | ||
3 | cpupower\-info \- Shows processor power related kernel or hardware configurations | ||
4 | .SH SYNOPSIS | ||
5 | .ft B | ||
6 | .B cpupower info [ \-b ] [ \-s ] [ \-m ] | ||
7 | |||
8 | .SH DESCRIPTION | ||
9 | \fBcpupower info \fP shows kernel configurations or processor hardware | ||
10 | registers affecting processor power saving policies. | ||
11 | |||
12 | Some options are platform wide, some affect single cores. By default values | ||
13 | of core zero are displayed only. cpupower --cpu all cpuinfo will show the | ||
14 | settings of all cores, see cpupower(1) how to choose specific cores. | ||
15 | |||
16 | .SH "SEE ALSO" | ||
17 | Options are described in detail in: | ||
18 | |||
19 | cpupower(1), cpupower-set(1) | ||
diff --git a/tools/power/cpupower/man/cpupower-monitor.1 b/tools/power/cpupower/man/cpupower-monitor.1 new file mode 100644 index 00000000000..d5cfa265c3d --- /dev/null +++ b/tools/power/cpupower/man/cpupower-monitor.1 | |||
@@ -0,0 +1,179 @@ | |||
1 | .TH CPUPOWER\-MONITOR "1" "22/02/2011" "" "cpupower Manual" | ||
2 | .SH NAME | ||
3 | cpupower\-monitor \- Report processor frequency and idle statistics | ||
4 | .SH SYNOPSIS | ||
5 | .ft B | ||
6 | .B cpupower monitor | ||
7 | .RB "\-l" | ||
8 | |||
9 | .B cpupower monitor | ||
10 | .RB [ "\-m <mon1>," [ "<mon2>,..." ] ] | ||
11 | .RB [ "\-i seconds" ] | ||
12 | .br | ||
13 | .B cpupower monitor | ||
14 | .RB [ "\-m <mon1>," [ "<mon2>,..." ] ] | ||
15 | .RB command | ||
16 | .br | ||
17 | .SH DESCRIPTION | ||
18 | \fBcpupower-monitor \fP reports processor topology, frequency and idle power | ||
19 | state statistics. Either \fBcommand\fP is forked and | ||
20 | statistics are printed upon its completion, or statistics are printed periodically. | ||
21 | |||
22 | \fBcpupower-monitor \fP implements independent processor sleep state and | ||
23 | frequency counters. Some are retrieved from kernel statistics, some are | ||
24 | directly reading out hardware registers. Use \-l to get an overview which are | ||
25 | supported on your system. | ||
26 | |||
27 | .SH Options | ||
28 | .PP | ||
29 | \-l | ||
30 | .RS 4 | ||
31 | List available monitors on your system. Additional details about each monitor | ||
32 | are shown: | ||
33 | .RS 2 | ||
34 | .IP \(bu | ||
35 | The name in quotation marks which can be passed to the \-m parameter. | ||
36 | .IP \(bu | ||
37 | The number of different counters the monitor supports in brackets. | ||
38 | .IP \(bu | ||
39 | The amount of time in seconds the counters might overflow, due to | ||
40 | implementation constraints. | ||
41 | .IP \(bu | ||
42 | The name and a description of each counter and its processor hierarchy level | ||
43 | coverage in square brackets: | ||
44 | .RS 4 | ||
45 | .IP \(bu | ||
46 | [T] \-> Thread | ||
47 | .IP \(bu | ||
48 | [C] \-> Core | ||
49 | .IP \(bu | ||
50 | [P] \-> Processor Package (Socket) | ||
51 | .IP \(bu | ||
52 | [M] \-> Machine/Platform wide counter | ||
53 | .RE | ||
54 | .RE | ||
55 | .RE | ||
56 | .PP | ||
57 | \-m <mon1>,<mon2>,... | ||
58 | .RS 4 | ||
59 | Only display specific monitors. Use the monitor string(s) provided by \-l option. | ||
60 | .RE | ||
61 | .PP | ||
62 | \-i seconds | ||
63 | .RS 4 | ||
64 | Measure intervall. | ||
65 | .RE | ||
66 | .PP | ||
67 | command | ||
68 | .RS 4 | ||
69 | Measure idle and frequency characteristics of an arbitrary command/workload. | ||
70 | The executable \fBcommand\fP is forked and upon its exit, statistics gathered since it was | ||
71 | forked are displayed. | ||
72 | .RE | ||
73 | .PP | ||
74 | \-v | ||
75 | .RS 4 | ||
76 | Increase verbosity if the binary was compiled with the DEBUG option set. | ||
77 | .RE | ||
78 | |||
79 | .SH MONITOR DESCRIPTIONS | ||
80 | .SS "Idle_Stats" | ||
81 | Shows statistics of the cpuidle kernel subsystem. Values are retrieved from | ||
82 | /sys/devices/system/cpu/cpu*/cpuidle/state*/. | ||
83 | The kernel updates these values every time an idle state is entered or | ||
84 | left. Therefore there can be some inaccuracy when cores are in an idle | ||
85 | state for some time when the measure starts or ends. In worst case it can happen | ||
86 | that one core stayed in an idle state for the whole measure time and the idle | ||
87 | state usage time as exported by the kernel did not get updated. In this case | ||
88 | a state residency of 0 percent is shown while it was 100. | ||
89 | |||
90 | .SS "Mperf" | ||
91 | The name comes from the aperf/mperf (average and maximum) MSR registers used | ||
92 | which are available on recent X86 processors. It shows the average frequency | ||
93 | (including boost frequencies). | ||
94 | The fact that on all recent hardware the mperf timer stops ticking in any idle | ||
95 | state it is also used to show C0 (processor is active) and Cx (processor is in | ||
96 | any sleep state) times. These counters do not have the inaccuracy restrictions | ||
97 | the "Idle_Stats" counters may show. | ||
98 | May work poorly on Linux-2.6.20 through 2.6.29, as the \fBacpi-cpufreq \fP | ||
99 | kernel frequency driver periodically cleared aperf/mperf registers in those | ||
100 | kernels. | ||
101 | |||
102 | .SS "Nehalem" "SandyBridge" | ||
103 | Intel Core and Package sleep state counters. | ||
104 | Threads (hyperthreaded cores) may not be able to enter deeper core states if | ||
105 | its sibling is utilized. | ||
106 | Deepest package sleep states may in reality show up as machine/platform wide | ||
107 | sleep states and can only be entered if all cores are idle. Look up Intel | ||
108 | manuals (some are provided in the References section) for further details. | ||
109 | |||
110 | .SS "Ontario" "Liano" | ||
111 | AMD laptop and desktop processor (family 12h and 14h) sleep state counters. | ||
112 | The registers are accessed via PCI and therefore can still be read out while | ||
113 | cores have been offlined. | ||
114 | |||
115 | There is one special counter: NBP1 (North Bridge P1). | ||
116 | This one always returns 0 or 1, depending on whether the North Bridge P1 | ||
117 | power state got entered at least once during measure time. | ||
118 | Being able to enter NBP1 state also depends on graphics power management. | ||
119 | Therefore this counter can be used to verify whether the graphics' driver | ||
120 | power management is working as expected. | ||
121 | |||
122 | .SH EXAMPLES | ||
123 | |||
124 | cpupower monitor -l" may show: | ||
125 | .RS 4 | ||
126 | Monitor "Mperf" (3 states) \- Might overflow after 922000000 s | ||
127 | |||
128 | ... | ||
129 | |||
130 | Monitor "Idle_Stats" (3 states) \- Might overflow after 4294967295 s | ||
131 | |||
132 | ... | ||
133 | |||
134 | .RE | ||
135 | cpupower monitor \-m "Idle_Stats,Mperf" scp /tmp/test /nfs/tmp | ||
136 | |||
137 | Monitor the scp command, show both Mperf and Idle_Stats states counter | ||
138 | statistics, but in exchanged order. | ||
139 | |||
140 | |||
141 | |||
142 | .RE | ||
143 | Be careful that the typical command to fully utilize one CPU by doing: | ||
144 | |||
145 | cpupower monitor cat /dev/zero >/dev/null | ||
146 | |||
147 | Does not work as expected, because the measured output is redirected to | ||
148 | /dev/null. This could get workarounded by putting the line into an own, tiny | ||
149 | shell script. Hit CTRL\-c to terminate the command and get the measure output | ||
150 | displayed. | ||
151 | |||
152 | .SH REFERENCES | ||
153 | "BIOS and Kernel Developer’s Guide (BKDG) for AMD Family 14h Processors" | ||
154 | http://support.amd.com/us/Processor_TechDocs/43170.pdf | ||
155 | |||
156 | "Intel® Turbo Boost Technology | ||
157 | in Intel® Core™ Microarchitecture (Nehalem) Based Processors" | ||
158 | http://download.intel.com/design/processor/applnots/320354.pdf | ||
159 | |||
160 | "Intel® 64 and IA-32 Architectures Software Developer's Manual | ||
161 | Volume 3B: System Programming Guide" | ||
162 | http://www.intel.com/products/processor/manuals | ||
163 | |||
164 | .SH FILES | ||
165 | .ta | ||
166 | .nf | ||
167 | /dev/cpu/*/msr | ||
168 | /sys/devices/system/cpu/cpu*/cpuidle/state*/. | ||
169 | .fi | ||
170 | |||
171 | .SH "SEE ALSO" | ||
172 | powertop(8), msr(4), vmstat(8) | ||
173 | .PP | ||
174 | .SH AUTHORS | ||
175 | .nf | ||
176 | Written by Thomas Renninger <trenn@suse.de> | ||
177 | |||
178 | Nehalem, SandyBridge monitors and command passing | ||
179 | based on turbostat.8 from Len Brown <len.brown@intel.com> | ||
diff --git a/tools/power/cpupower/man/cpupower-set.1 b/tools/power/cpupower/man/cpupower-set.1 new file mode 100644 index 00000000000..c4954a9fe4e --- /dev/null +++ b/tools/power/cpupower/man/cpupower-set.1 | |||
@@ -0,0 +1,103 @@ | |||
1 | .TH CPUPOWER\-SET "1" "22/02/2011" "" "cpupower Manual" | ||
2 | .SH NAME | ||
3 | cpupower\-set \- Set processor power related kernel or hardware configurations | ||
4 | .SH SYNOPSIS | ||
5 | .ft B | ||
6 | .B cpupower set [ \-b VAL ] [ \-s VAL ] [ \-m VAL ] | ||
7 | |||
8 | |||
9 | .SH DESCRIPTION | ||
10 | \fBcpupower set \fP sets kernel configurations or directly accesses hardware | ||
11 | registers affecting processor power saving policies. | ||
12 | |||
13 | Some options are platform wide, some affect single cores. By default values | ||
14 | are applied on all cores. How to modify single core configurations is | ||
15 | described in the cpupower(1) manpage in the \-\-cpu option section. Whether an | ||
16 | option affects the whole system or can be applied to individual cores is | ||
17 | described in the Options sections. | ||
18 | |||
19 | Use \fBcpupower info \fP to read out current settings and whether they are | ||
20 | supported on the system at all. | ||
21 | |||
22 | .SH Options | ||
23 | .PP | ||
24 | \-\-perf-bias, \-b | ||
25 | .RS 4 | ||
26 | Sets a register on supported Intel processore which allows software to convey | ||
27 | its policy for the relative importance of performance versus energy savings to | ||
28 | the processor. | ||
29 | |||
30 | The range of valid numbers is 0-15, where 0 is maximum | ||
31 | performance and 15 is maximum energy efficiency. | ||
32 | |||
33 | The processor uses this information in model-specific ways | ||
34 | when it must select trade-offs between performance and | ||
35 | energy efficiency. | ||
36 | |||
37 | This policy hint does not supersede Processor Performance states | ||
38 | (P-states) or CPU Idle power states (C-states), but allows | ||
39 | software to have influence where it would otherwise be unable | ||
40 | to express a preference. | ||
41 | |||
42 | For example, this setting may tell the hardware how | ||
43 | aggressively or conservatively to control frequency | ||
44 | in the "turbo range" above the explicitly OS-controlled | ||
45 | P-state frequency range. It may also tell the hardware | ||
46 | how aggressively it should enter the OS requested C-states. | ||
47 | |||
48 | This option can be applied to individual cores only via the \-\-cpu option, | ||
49 | cpupower(1). | ||
50 | |||
51 | Setting the performance bias value on one CPU can modify the setting on | ||
52 | related CPUs as well (for example all CPUs on one socket), because of | ||
53 | hardware restrictions. | ||
54 | Use \fBcpupower -c all info -b\fP to verify. | ||
55 | |||
56 | This options needs the msr kernel driver (CONFIG_X86_MSR) loaded. | ||
57 | .RE | ||
58 | .PP | ||
59 | \-\-sched\-mc, \-m [ VAL ] | ||
60 | .RE | ||
61 | \-\-sched\-smt, \-s [ VAL ] | ||
62 | .RS 4 | ||
63 | \-\-sched\-mc utilizes cores in one processor package/socket first before | ||
64 | processes are scheduled to other processor packages/sockets. | ||
65 | |||
66 | \-\-sched\-smt utilizes thread siblings of one processor core first before | ||
67 | processes are scheduled to other cores. | ||
68 | |||
69 | The impact on power consumption and performance (positiv or negativ) heavily | ||
70 | depends on processor support for deep sleep states, frequency scaling and | ||
71 | frequency boost modes and their dependencies between other thread siblings | ||
72 | and processor cores. | ||
73 | |||
74 | Taken over from kernel documentation: | ||
75 | |||
76 | Adjust the kernel's multi-core scheduler support. | ||
77 | |||
78 | Possible values are: | ||
79 | .RS 2 | ||
80 | 0 - No power saving load balance (default value) | ||
81 | |||
82 | 1 - Fill one thread/core/package first for long running threads | ||
83 | |||
84 | 2 - Also bias task wakeups to semi-idle cpu package for power | ||
85 | savings | ||
86 | .RE | ||
87 | |||
88 | sched_mc_power_savings is dependent upon SCHED_MC, which is | ||
89 | itself architecture dependent. | ||
90 | |||
91 | sched_smt_power_savings is dependent upon SCHED_SMT, which | ||
92 | is itself architecture dependent. | ||
93 | |||
94 | The two files are independent of each other. It is possible | ||
95 | that one file may be present without the other. | ||
96 | |||
97 | .SH "SEE ALSO" | ||
98 | cpupower-info(1), cpupower-monitor(1), powertop(1) | ||
99 | .PP | ||
100 | .SH AUTHORS | ||
101 | .nf | ||
102 | \-\-perf\-bias parts written by Len Brown <len.brown@intel.com> | ||
103 | Thomas Renninger <trenn@suse.de> | ||
diff --git a/tools/power/cpupower/man/cpupower.1 b/tools/power/cpupower/man/cpupower.1 new file mode 100644 index 00000000000..baf741d06e8 --- /dev/null +++ b/tools/power/cpupower/man/cpupower.1 | |||
@@ -0,0 +1,72 @@ | |||
1 | .TH CPUPOWER "1" "07/03/2011" "" "cpupower Manual" | ||
2 | .SH NAME | ||
3 | cpupower \- Shows and sets processor power related values | ||
4 | .SH SYNOPSIS | ||
5 | .ft B | ||
6 | .B cpupower [ \-c cpulist ] <command> [ARGS] | ||
7 | |||
8 | .B cpupower \-v|\-\-version | ||
9 | |||
10 | .B cpupower \-h|\-\-help | ||
11 | |||
12 | .SH DESCRIPTION | ||
13 | \fBcpupower \fP is a collection of tools to examine and tune power saving | ||
14 | related features of your processor. | ||
15 | |||
16 | The manpages of the commands (cpupower\-<command>(1)) provide detailed | ||
17 | descriptions of supported features. Run \fBcpupower help\fP to get an overview | ||
18 | of supported commands. | ||
19 | |||
20 | .SH Options | ||
21 | .PP | ||
22 | \-\-help, \-h | ||
23 | .RS 4 | ||
24 | Shows supported commands and general usage. | ||
25 | .RE | ||
26 | .PP | ||
27 | \-\-cpu cpulist, \-c cpulist | ||
28 | .RS 4 | ||
29 | Only show or set values for specific cores. | ||
30 | This option is not supported by all commands, details can be found in the | ||
31 | manpages of the commands. | ||
32 | |||
33 | Some commands access all cores (typically the *\-set commands), some only | ||
34 | the first core (typically the *\-info commands) by default. | ||
35 | |||
36 | The syntax for <cpulist> is based on how the kernel exports CPU bitmasks via | ||
37 | sysfs files. Some examples: | ||
38 | .RS 4 | ||
39 | .TP 16 | ||
40 | Input | ||
41 | Equivalent to | ||
42 | .TP | ||
43 | all | ||
44 | all cores | ||
45 | .TP | ||
46 | 0\-3 | ||
47 | 0,1,2,3 | ||
48 | .TP | ||
49 | 0\-7:2 | ||
50 | 0,2,4,6 | ||
51 | .TP | ||
52 | 1,3,5-7 | ||
53 | 1,3,5,6,7 | ||
54 | .TP | ||
55 | 0\-3:2,8\-15:4 | ||
56 | 0,2,8,12 | ||
57 | .RE | ||
58 | .RE | ||
59 | .PP | ||
60 | \-\-version, \-v | ||
61 | .RS 4 | ||
62 | Print the package name and version number. | ||
63 | |||
64 | .SH "SEE ALSO" | ||
65 | cpupower-set(1), cpupower-info(1), cpupower-idle(1), | ||
66 | cpupower-frequency-set(1), cpupower-frequency-info(1), cpupower-monitor(1), | ||
67 | powertop(1) | ||
68 | .PP | ||
69 | .SH AUTHORS | ||
70 | .nf | ||
71 | \-\-perf\-bias parts written by Len Brown <len.brown@intel.com> | ||
72 | Thomas Renninger <trenn@suse.de> | ||