|
|
@@ -0,0 +1,22 @@
|
|
|
+#/bin/bash
|
|
|
+
|
|
|
+WEBSRV=sogouImeWebSrv
|
|
|
+ID=`ps -ef | grep "$WEBSRV" | grep -v "$0" | grep -v "grep" | awk '{print $2}'`
|
|
|
+for id in $ID
|
|
|
+do
|
|
|
+echo "[SOGOULOG] === $WEBSRV is running, Kill Service === "
|
|
|
+kill -9 $id
|
|
|
+echo "[SOGOULOG] === Kill sogouImeWebSrv Done === "
|
|
|
+done
|
|
|
+
|
|
|
+echo "[SOGOULOG] === Kill Service Start === "
|
|
|
+SOGOUIME=sogouImeService
|
|
|
+ID=`ps -ef | grep "$SOGOUIME" | grep -v "$0" | grep -v "grep" | awk '{print $2}'`
|
|
|
+for id in $ID
|
|
|
+do
|
|
|
+echo "[SOGOULOG] === $SOGOUIME is running, Kill Service === "
|
|
|
+kill -9 $id
|
|
|
+echo "[SOGOULOG] === Kill sogouImeService Done === "
|
|
|
+done
|
|
|
+
|
|
|
+echo "[SOGOULOG] === Kill Service Done === "
|