Searched hist:"072119606 a239557bf8532c70af9c211d1028dff" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.8 | diff 072119606a239557bf8532c70af9c211d1028dff Sat Jul 15 14:51:26 CDT 2017 Len Brown <len.brown@intel.com> tools/power turbostat: on SIGUSR1: sample, print and continue
Interval-mode turbostat now catches and discards SIGUSR1.
Thus, SIGUSR1 can be used to tell turbostat to cut short the current measurement interval. Turbostat will then start the next measurement interval using the regular interval length.
This can be used to give turbostat variable intervals. Invoke turbostat with --interval LARGE_NUMBER_SEC and have a program that has permission to send it a SIGUSR1 always before LARGE_NUMBER_SEC expires.
It may also be useful to use "--enable Time_Of_Day_Seconds" to observe the actual interval length.
Signed-off-by: Len Brown <len.brown@intel.com>
|
H A D | turbostat.c | diff 072119606a239557bf8532c70af9c211d1028dff Sat Jul 15 14:51:26 CDT 2017 Len Brown <len.brown@intel.com> tools/power turbostat: on SIGUSR1: sample, print and continue
Interval-mode turbostat now catches and discards SIGUSR1.
Thus, SIGUSR1 can be used to tell turbostat to cut short the current measurement interval. Turbostat will then start the next measurement interval using the regular interval length.
This can be used to give turbostat variable intervals. Invoke turbostat with --interval LARGE_NUMBER_SEC and have a program that has permission to send it a SIGUSR1 always before LARGE_NUMBER_SEC expires.
It may also be useful to use "--enable Time_Of_Day_Seconds" to observe the actual interval length.
Signed-off-by: Len Brown <len.brown@intel.com>
|