cpu_utilization.py 102 字节
Newer Older
F
felixhjh 已提交
1 2 3 4
import psutil
cpu_utilization=psutil.cpu_percent(1,False)
print('CPU_UTILIZATION:', cpu_utilization)