#! /bin/bash # process-monitor.sh process=$1 pid=$(ps -ef | grep $process | grep '/bin/java' | grep -v grep | awk '{print $2}') echo $pid
#! /bin/bash # process-monitor.sh process=$1 pid=$(ps -ef | grep $process | grep '/bin/java' | grep -v grep | awk '{print $2}') echo $pid
tjccn_wx@hotmail.com
这个人很懒,什么都没留下
文章评论