Commit 254300f7 authored by 陈明's avatar 陈明

ofd 相关文档提交;

parents
#!/bin/bash
#var ll=0
App=com.suwell.ofd.convert.agent.AgentMain
Pro=processmanager
es=runas-rpc-server
FIND_Agent=$App
FIND_PRO=$Pro
FIND_RPC=$es
psid=$(ps -ef |grep -v 'grep'|grep $FIND_Agent | awk '{print $2}')
for sid in $psid
do
kill -9 $sid
echo "kill $sid"
echo "停止Agent服务成功"
done
Pro=$(ps -ef |grep -v 'grep'|grep $FIND_PRO | awk '{print $2}')
for pro in $Pro
do
kill -9 $pro
echo "kill $pro"
echo "停止ProcMgr服务成功"
done
#es=$(ps -ef|grep -v 'grep'|grep $FIND_RPC | awk '{print $2}' | tr "\r\n" " ")
es=$(ps -ef|grep -v 'grep'|grep $FIND_RPC | awk '{print $2}')
#echo $es
for id in $es
do
kill -9 $id
echo "kill $id"
echo "停止线程服务成功"
done
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment