Lines Matching +full:poll +full:- +full:interval
3 turbostat \- Report processor frequency and idle statistics
12 .RB [ "\--interval seconds" ]
15 idle power-state statistics, temperature and power on X86 processors.
19 in one-shot upon its completion.
21 and turbostat displays statistics every 5 seconds interval.
22 The 5-second interval can be changed using the --interval option.
26 Options can be specified with a single or double '-', and only as much of the option
27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv…
29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri…
41 MSRs are read as 64-bits, u32 truncates the displayed value to 32-bits.
46 'delta' shows the difference in values during the measurement interval.
51 Any string that does not match a key-word above is used
55 …--cpu cpu-set\fP limit output to system summary plus the specified cpu-set. If cpu-set is the str…
57 \fB--hide column\fP do not show the specified built-in columns. May be invoked multiple times, or …
59 \fB--enable column\fP show the specified built-in columns, which are otherwise disabled, by default…
60 The column name "all" can be used to enable all disabled-by-default built-in counters.
62 \fB--show column\fP show only the specified built-in columns. May be invoked multiple times, or wi…
64 \fB--show CATEGORY --hide CATEGORY\fP Show and hide also accept a single CATEGORY of columns: "all…
66 \fB--Dump\fP displays the raw counter values.
68 \fB--quiet\fP Do not decode and print the system configuration header information.
70 \fB--interval seconds\fP overrides the default 5.0 second measurement interval.
72 \fB--num_iterations num\fP number of the measurement iterations.
74 \fB--out output_file\fP turbostat output is written to the specified output_file.
77 \fB--help\fP displays usage for the most common parameters.
79 \fB--Joules\fP displays energy in Joules, rather than dividing Joules by time to print power in Wat…
81 \fB--list\fP display column header names available for use by --show and --hide, then exit.
83 \fB--Summary\fP limits output to a 1-line System Summary for each interval.
85 \fB--TCC temperature\fP sets the Thermal Control Circuit temperature for systems which do not expor…
87 \fB--version\fP displays the version.
93 …--quiet is not used) is followed by statistics. The first row of the statistics labels the conten…
96 …on, including thread migration -- if any. This counter is disabled by default, and is enabled wit…
98 …he measurement interval were collected. This column is disabled by default, and can be enabled wi…
100 …umber. Note that multiple CPUs per core indicate support for Intel(R) Hyper-Threading Technology …
102 …it is okay that on many systems the CPUs are not listed in numerical order -- for efficiency reaso…
104 \fBPackage\fP processor package number -- not present on systems with a single processor package.
106 \fBAvg_MHz\fP number of cycles executed divided by time elapsed. Note that this includes idle-time…
108 \fBBusy%\fP percent of the measurement interval that the CPU executes instructions, aka. % of time …
112 \fBTSC_MHz\fP average MHz that the TSC ran during the entire interval.
114 \fBIRQ\fP The number of interrupts serviced by that CPU during the measurement interval. The syste…
116 …ment Interrupts serviced CPU during the measurement interval. While this counter is actually per…
118 …interval. The system summary line shows the sum for all CPUs. These are C-state names as exporte…
124 \fBCoreTmp\fP Degrees Celsius reported by the per-core Digital Thermal Sensor.
126 \fBPkgTmp\fP Degrees Celsius reported by the per-package Package Thermal Monitor.
128 …f time the GPU is in the "render C6" state, rc6, during the measurement interval. From /sys/class/…
130 \fBGFXMHz\fP Instantaneous snapshot of what sysfs presents at the end of the measurement interval. …
138 \fBGFXWatt\fP Watts consumed by the Graphics part of the package -- available only on client proces…
140 \fBRAMWatt\fP Watts consumed by the DRAM DIMMS -- available only on server processors.
142 …interval that RAPL throttling was active on the Package. Note that the system summary is the sum …
144 \fBRAM_%\fP percent of the interval that RAPL throttling was active on DRAM.
148 By default, turbostat dumps all possible information -- a system configuration header, followed by …
149 This is ideal for remote debugging, use the "--out" option to save everything to a text file, and g…
151 …--quiet" option will skip the configuration information, and turbostat will show only the counter …
153 …--show and --hide, the "--list" option is available. Usually, the CATEGORY names above are used t…
156 sudo ./turbostat --show sysfs --quiet sleep 10
174 Output can instead be saved to a file using the --out option.
178 [root@hsw]# ./turbostat -o ts.out sleep 10
182 .SH PERIODIC INTERVAL EXAMPLE
184 Periodic output goes to stdout, by default, unless --out is used to specify an output file.
185 The 5-second interval can be changed with the "-i sec" option.
187 sudo turbostat --quiet --show CPU,frequency
189 - - 524 12.48 4198 3096 74.53 3800
199 - - 525 12.52 4198 3096 74.54 3800
209 This example also shows the use of the --show option to show only the desired columns.
214 before taking measurements. In the example above, "--quiet" is used
217 turbostat version 2022.04.16 - Len Brown <lenb@kernel.org>
218 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.18.0-rc6-00001-ge6891250e3b5 ...
222 CPUID(1): SSE3 MONITOR - EIST TM2 TSC MSR ACPI-TM HT TM
223 CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp, No-HWPpkg, EPB
230 cpu7: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination DISable-EPB DISable-OOB)
235 cpu7: MSR_IA32_POWER_CTL: 0x002c005d (C1E auto-promotion: DISabled)
246 …SR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3, UNdemote-C1, demote-C3, demote-C1, locked, pkg…
247 Uncore Frequency pkg0 die0: 800 - 3900 MHz (800 - 3900 MHz)
252 cpu7: POLL: CPUIDLE CORE POLL IDLE
264 cpu7: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-pair L1-Prefetch L1-IP-Prefetch)
269 cpu0: MSR_HWP_STATUS: 0x00000004 (No-Guaranteed_Perf_Change, No-Excursion_Min)
272 cpu0: MSR_PKG_POWER_INFO: 0x00000168 (45 W TDP, RAPL 0 - 0 W, 0.000000 sec.)
286 cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x00640000 (100 C) (100 default - 0 offset)
299 frequency of the processor -- this should match the brand string
306 Here we limit turbostat to showing just the CPU number for cpu0 - cpu3.
307 We add a counter showing the 32-bit raw value of MSR 0x199 (MSR_IA32_PERF_CTL),
311 sudo ./turbostat --quiet --cpu 0-3 --show CPU --add msr0x199,u32,raw,PRF_CTRL sleep .1
314 - 0x00000000
324 For interval-mode, turbostat will immediately end the current interval
326 turbostat will then start the next interval.
327 Control-C will be send a SIGINT to turbostat,
331 SIGINT will interrupt interval-mode.
332 The end-of-interval data will be collected and displayed before turbostat exits.
334 SIGUSR1 will end current interval,
335 end-of-interval data will be collected and displayed before turbostat
336 starts a new interval.
341 Alternatively, non-root users can be enabled to run turbostat this way:
355 may work poorly on Linux-2.6.20 through 2.6.29,
356 as \fBacpi-cpufreq \fPperiodically cleared the APERF and MPERF MSRs
360 number of elapsed cycles divided by the entire sample interval --
362 to systems lacking a non-stop TSC.
384 The APERF, MPERF MSRs are defined to count non-halted cycles.