- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 Linux shell 进程检测及自启动脚本
#!/bin/sh#author by JoshYoby 2019-11-26appname=getkeytestcheckrun=`ps -ef | grep $appname | grep -v "grep" | wc -l` #返回 ps -ef 出来的所有字符串中含有 $appname 的进程个数while truedo#echo $checkrunif [ 0 = $c...
2019-11-26 10:51:12 1108
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人