ps aux | grep tomcat | awk -F'/' '{print $1,$12}' | grep tomcat | awk '{print $2,$11}' 记录下 已备后续shell脚本调用