实战教程

安装psutil模块

pip2 install psutil

 实战代码

 

#encoding=utf-8
import psutil

print psutil.cpu_times()
print psutil.disk_partitions()
print psutil.virtual_memory()

 

资料

http://www.cnblogs.com/xiao1/p/6164204.html

相关文章:

  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-05
  • 2021-06-10
  • 2021-07-19
  • 2021-10-09
  • 2021-12-11
  • 2021-07-10
  • 2022-02-08
相关资源
相似解决方案