摘要: #!/bin/sh bin=$(cd `dirname $0`;pwd) cd ${bin} ### 定义检查函数 chk(){ programName=$1 correctNum=$2 programSubName=$3 # 判断是否带子程序名 if [ -n "${programSubName}" ] then programNum=$(ps -ef|grep -Ewv "grep|less| 阅读全文
posted @ 2019-08-26 08:42 chenzechao 阅读(425) 评论(0) 推荐(0)