摘要: 2019.0419 1. 获取shell 命令的结果和状态码,3 种 os.system() 调用系统命令,完成后退出,返回结果是命令执行状态,一般是0 os.popen() 返命令后的结果,多用read 读出来 (status, output) = commands.getstatusoutput 阅读全文
posted @ 2019-05-28 23:01 BRUCECSDN 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1. Structure needs cleaning xfs_repair -L 慎用 2. journalctl -e end -r reverse -u user 3. docker 挂载 /dev/dm-1 15G 3.0G 13G 20% /var/lib/docker/devicemap 阅读全文
posted @ 2019-05-28 23:01 BRUCECSDN 阅读(269) 评论(0) 推荐(0) 编辑