随笔 - 89,  文章 - 1,  评论 - 26,  阅读 - 90773
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  shell全自动linux脚本系列

自用python写了一段监控python进行运行的脚本,并且死循环,停止就启动。
摘要:import subprocess as sbimport time,sys,datetimecount = 1while True: try: count += 1 res = sb.getoutput("ps -ef|grep python3") #查看是否还在运行中, if "zdjy" in 阅读全文
posted @ 2020-04-04 22:25 专注于区块链开发 阅读(1125) 评论(3) 推荐(1) 编辑
一键对centos7.6安装python3环境已经pip3
摘要:1 yum -y install "Development tools" 2 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel t k-devel gdbm-de 阅读全文
posted @ 2019-10-05 22:33 专注于区块链开发 阅读(463) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示