How can I use findpeaks
to look for a sustained peak across 3 consecutive time intervals?
I am using this to look for sustained CPU usage of at least 3 minutes.
findpeaks(MyData$X.busy, threshold=80) ??
Timestamp, X.busy
2017-10-08 00:00:00, 10
2017-10-08 00:01:00, 10
2017-10-08 00:02:00, 10
2017-10-08 00:03:00, 10
2017-10-08 00:04:00, 10
2017-10-08 00:05:00, 90 <---
2017-10-08 00:06:00, 90 <---
2017-10-08 00:07:00, 90 <---
2017-10-08 00:08:00, 10
2017-10-08 00:09:00, 10
Any advice is appreciated.
Lou
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…