This commit is contained in:
Oliver
2026-03-17 15:48:02 -03:00
commit 004710aa05
8 changed files with 279 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
APPNAME="eTIMS VSCU"
APPJAR=vscu-v2.0.5.jar
APPOPTS="-XX:-LoopUnswitching -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
PID=`ps -ef | grep $APPJAR | grep -v grep | awk '{print $2}'`
echo "PID = $PID"
if [ -z "${PID}" ]; then
echo "$APPNAME IS ALREADY STOPPED!!!"
else
echo "STOPPING $APPNAME...."
kill -9 $PID
echo "$APPNAME HAS BEEN STOPPED SUCCESSFULLY!!!"
fi