Fork me on GitHub
摘要: Python监控服务器利器--psutil 服务器的监控通过安装一些常用的监控软件之外,有时也需要运行一些shell或Python脚本;shell下可以使用系统自带的ps/free/top/df等shell命令,Python可以调用subprocess等模块来运行shell命令,不过这么做就比较麻烦 阅读全文
posted @ 2018-07-22 11:00 神雕爱大侠 阅读(309) 评论(0) 推荐(0) 编辑