Linux下重启tomcat脚本

Linux下重启tomcat脚本
#!/bin/sh pid=`ps aux | grep tomcat | grep -v grep | grep -v retomcat | awk '{print $2}'` echo $pid if [ -n "$pid" ] then { echo ===========shutdown================ pid=`ps aux | grep tomcat | grep...
9,520 views
Linux 2017-09-15