dx8439 发表于 2017-08-30 21:57 ssh 192.168.19.1 ' PID=`ps -ef|grep tomcat/|grep -v "grep"|awk '{print $2}'` echo "$PID"