summaryrefslogtreecommitdiffstats
path: root/tools/thermal/tmon/tmon.8
diff options
context:
space:
mode:
authorBrian Norris2015-02-18 03:18:29 +0100
committerZhang Rui2015-02-28 06:52:47 +0100
commit4cc32cb4e92622757685c8732bdfc400243a5644 (patch)
tree02436ab9be7eae995af8c1aa67f04827572933cc /tools/thermal/tmon/tmon.8
parentLinux 4.0-rc1 (diff)
downloadkernel-qcow2-linux-4cc32cb4e92622757685c8732bdfc400243a5644.tar.gz
kernel-qcow2-linux-4cc32cb4e92622757685c8732bdfc400243a5644.tar.xz
kernel-qcow2-linux-4cc32cb4e92622757685c8732bdfc400243a5644.zip
tools/thermal: tmon: add --target-temp parameter
If we launch in daemon mode (--daemon), we don't have the ncurses UI, but we might want to set the target temperature still. For example, someone might stick the following in their boot script: tmon --control intel_powerclamp --target-temp 90 --log --daemon This would turn on CPU idle injection when we're around 90 degrees celsius, and would log temperature and throttling info to /var/tmp/tmon.log. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/thermal/tmon/tmon.8')
-rw-r--r--tools/thermal/tmon/tmon.82
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/thermal/tmon/tmon.8 b/tools/thermal/tmon/tmon.8
index 0be727cb9892..02d5179803aa 100644
--- a/tools/thermal/tmon/tmon.8
+++ b/tools/thermal/tmon/tmon.8
@@ -55,6 +55,8 @@ The \fB-l --log\fP option write data to /var/tmp/tmon.log
.PP
The \fB-t --time-interval\fP option sets the polling interval in seconds
.PP
+The \fB-T --target-temp\fP option sets the initial target temperature
+.PP
The \fB-v --version\fP option shows the version of \fBtmon \fP
.PP
The \fB-z --zone\fP option sets the target therma zone instance to be controlled