CPU monitoring script