摘要:
#linux查询进程是否存在,如果不存在则启动该进程:#!/bin/bashps_out=`ps -ef | grep $1 | grep -v 'grep' | grep -v $0`result=$(echo $ps_out | grep "$1")if [[ "$result" != "" ] 阅读全文
posted @ 2019-01-25 17:39
何建新
阅读(1163)
评论(0)
推荐(1)
2019年1月25日