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>
This commit is contained in:
Len Brown
2017-07-15 14:57:37 -04:00
parent 3f44a5c62b
commit 8aa2ed0b28
2 changed files with 34 additions and 0 deletions

View File

@@ -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 "