Search results

  1. E

    tomcat status from shell

    Does the following (or a close variation of it): if [ "x`ps -aef | egrep [t]omcat`" == "x" ]; then echo "tomcat not running" else echo "tomcat running" fi work for you?
Back
Top