summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2017-07-15 15:51:26 -0400
committerLen Brown <len.brown@intel.com>2018-06-01 12:13:04 -0400
commit072119606a239557bf8532c70af9c211d1028dff (patch)
treed970ce934120a23f0848de3a5e4c2fd24ec5c133 /certs
parent8aa2ed0b2839718b9147bb0119a8012217d25a8b (diff)
downloadop-kernel-dev-072119606a239557bf8532c70af9c211d1028dff.zip
op-kernel-dev-072119606a239557bf8532c70af9c211d1028dff.tar.gz
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>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud