shell脚本重启tomcat
#!/bin/bash . /etc/profile pid=`ps aux | grep tomcat | grep -v grep | grep -v retomcat | awk '{print $2}'` path="/usr/local/tomcat" if [ -n...
#!/bin/bash . /etc/profile pid=`ps aux | grep tomcat | grep -v grep | grep -v retomcat | awk '{print $2}'` path="/usr/local/tomcat" if [ -n...