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:
@@ -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 "
|
||||
|
Reference in New Issue
Block a user