summaryrefslogtreecommitdiff
path: root/tools/power/x86/turbostat/turbostat.8
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2017-07-15 21:57:37 +0300
committerLen Brown <len.brown@intel.com>2018-06-01 19:13:04 +0300
commit8aa2ed0b2839718b9147bb0119a8012217d25a8b (patch)
tree5e5ce89d93ea8d180262cf0ed8f2fe78d6959414 /tools/power/x86/turbostat/turbostat.8
parent3f44a5c62be2f2b15317942fa7bc4a810d2420aa (diff)
downloadlinux-8aa2ed0b2839718b9147bb0119a8012217d25a8b.tar.xz
tools/power turbostat: on SIGINT: sample, print and exit
When running in interval-mode, catch interrupts and print a final data record before exiting. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat/turbostat.8')
-rw-r--r--tools/power/x86/turbostat/turbostat.84
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.8 b/tools/power/x86/turbostat/turbostat.8
index 04262ab1b78b..2dafba4900ab 100644
--- a/tools/power/x86/turbostat/turbostat.8
+++ b/tools/power/x86/turbostat/turbostat.8
@@ -267,6 +267,10 @@ CPU PRF_CTRL
.fi
+.SH SIGNALS
+
+SIGINT will interrupt interval-mode.
+The end-of-interval data will be collected and displayed before turbostat exits.
.SH NOTES
.B "turbostat "