性能测试培训: 监控CPU之python 作为一名测试开发工程师,开发脚本是为了测试服务的,我们在手里没有性能监控工具的情况下,我们会自己来进行开发脚本完成监控任务.下面是python监控cpu ''' Created on 2015-10-20 @author:laoli ''' #from sshExpert import sshExpert import time import os,sys,platform class cpuMonitor: def __init__(self): re…