.TH THERMOMETER 8 # SPDX-License-Identifier: GPL-2.0 .SH NAME \fBthermometer\fP - A thermal profiling tool .SH SYNOPSIS .ft B .B thermometer .RB [ options ] .RB [ command ] .br .SH DESCRIPTION \fBthermometer \fP captures the thermal zones temperature at a specified sampling period. It is optimized to reduce as much as possible the overhead while doing the temperature acquisition in order to prevent disrupting the running application we may want to profile. This low overhead also allows a high rate sampling for the temperature which could be necessary to spot overshots and undershots. If no configuration file is specified, then all the thermal zones will be monitored at 4Hz, so every 250ms. A configuration file specifies the thermal zone names and the desired sampling period. A thermal zone name can be a regular expression to specify a group of thermal zone. The sampling of the different thermal zones will be written into separate files with the thermal zone name. It is possible to specify a postfix to identify them for example for a specific scenario. The output directory can be specified in addition. Without any parameters, \fBthermometer \fP captures all the thermal zone temperatures every 250ms and write to the current directory the captured files postfixed with the current date. If a running \fBduration\fP is specified or a \fBcommand\fP, the capture ends at the end of the duration if the command did not finished before. The \fBduration\fP can be specified alone as well as the \fBcommand\fP. If none is specified, the capture will continue indefinitively until interrupted by \fBSIGINT\fP or \fBSIGQUIT\fP. .PP .SS Options .PP The \fB-h, --help\fP option shows a short usage help .PP The \fB-o