I am monitoring a program with R that is sometimes idle and sometimes performs tasks. My goal is to identify and distinguish runtimes of the program. The data should look li