echo "xxxxxxx服务进程检查(avis、OM、TBT、TSS、SCS、CPS)xxxxxxxx"
echo "xxxxxxxxAVIS进程检查xxxxxxxx"
RVD="`ps aux | grep -i avis |grep -v grep |wc -l`"
if [ $RVD -ge "1" ]; then
echo "RVD服务启动正常"
ps aux | grep -i avis |grep -v grep
else
echo "RVD进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxTBT进程检查¥xxxxxxxx"
TBT="`ps aux | grep -i ticBytic_ne| grep -v dts2 |grep -v grep |wc -l`"
if [ $TBT -ge "1" ]; then
echo "TBT服务启动正常"
ps aux | grep -i ticBytic_ne | grep -v dts2 |grep -v grep
else
echo "TBT进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxOM进程检查¥xxxxxxxx"
OM="`ps aux | grep -i odr_mgr| grep -v dts2 |grep -v grep |wc -l`"
if [ $OM -ge "1" ]; then
echo "OM服务启动正常"
ps aux | grep -i odr_mgr | grep -v dts2 |grep -v grep
else
echo "OM进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxTSS_1进程检查¥xxxxxxxx"
TSS="`ps aux | grep -i om_tran_consumer| grep -v dts2 |grep -v grep |wc -l`"
if [ $TSS -ge "1" ]; then
echo "TSS_1服务启动正常"
ps aux | grep -i om_tran_consumer | grep -v dts2 |grep -v grep
else
echo "TSS_1进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxTSS_2进程检查¥xxxxxxxx"
TSS="`ps aux | grep -i om_tran_store_server| grep -v dts2 |grep -v grep |wc -l`"
if [ $TSS -ge "1" ]; then
echo "TSS_2服务启动正常"
ps aux | grep -i om_tran_store_server | grep -v dts2 |grep -v grep
else
echo "TSS_2进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxCPS进程检查¥xxxxxxxx"
CPS="`ps aux | grep -i calp_protocol_server| grep -v dts2 |grep -v grep |wc -l`"
if [ $CPS -ge "1" ]; then
echo "CPS服务启动正常"
ps aux | grep -i calp_protocol_server| grep -v dts2 |grep -v grep
else
echo "CPS进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxSCS_1进程检查¥xxxxxxxx"
SCS="`ps aux | grep -i strategy_controller_server_gui| grep -v dts2 |grep -v grep |wc -l`"
if [ $SCS -ge "1" ]; then
echo "SCS_1服务启动正常"
ps aux | grep -i strategy_controller_server_gui | grep -v dts2 |grep -v grep
else
echo "SCS_1进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxSCS_2进程检查¥xxxxxxxx"
SCS="`ps aux | grep -i strategy_controller_server_monitor| grep -v dts2 |grep -v grep |wc -l`"
if [ $SCS -ge "1" ]; then
echo "SCS_2服务启动正常"
ps aux | grep -i strategy_controller_server_monitor | grep -v dts2 |grep -v grep
else
echo "SCS_2进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxSSCH进程检查¥xxxxxxxx"
SSCH="`ps aux | grep -i strategy_scheduler| grep -v dts2 |grep -v grep |wc -l`"
if [ $SSCH -ge "1" ]; then
echo "SSSCH服务启动正常"
ps aux | grep -i strategy_scheduler | grep -v dts2 |grep -v grep
else
echo "SSCH进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxWDC进程检查¥xxxxxxxx"
WDC="`ps aux | grep -i WDC |grep -v grep |wc -l`"
if [ $WDC -eq "12" ]; then
echo "WDC服务启动正常"
ps aux | grep -i WDC | grep -v dts2 |grep -v grep
else
echo "WDC进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxInternalLM进程检查¥xxxxxxxx"
LM="`ps aux | grep -i internal_lm |grep -v grep |wc -l`"
if [ $LM -ge "1" ]; then
echo "LM服务启动正常"
ps aux | grep -i internal_lm |grep -v grep
else
echo "LM进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxAVIS进程检查xxxxxxxx"
RVD="`ps aux | grep -i avis |grep -v grep |wc -l`"
if [ $RVD -ge "1" ]; then
echo "RVD服务启动正常"
ps aux | grep -i avis |grep -v grep
else
echo "RVD进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxTBT进程检查¥xxxxxxxx"
TBT="`ps aux | grep -i ticBytic_ne| grep -v dts2 |grep -v grep |wc -l`"
if [ $TBT -ge "1" ]; then
echo "TBT服务启动正常"
ps aux | grep -i ticBytic_ne | grep -v dts2 |grep -v grep
else
echo "TBT进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxOM进程检查¥xxxxxxxx"
OM="`ps aux | grep -i odr_mgr| grep -v dts2 |grep -v grep |wc -l`"
if [ $OM -ge "1" ]; then
echo "OM服务启动正常"
ps aux | grep -i odr_mgr | grep -v dts2 |grep -v grep
else
echo "OM进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxTSS_1进程检查¥xxxxxxxx"
TSS="`ps aux | grep -i om_tran_consumer| grep -v dts2 |grep -v grep |wc -l`"
if [ $TSS -ge "1" ]; then
echo "TSS_1服务启动正常"
ps aux | grep -i om_tran_consumer | grep -v dts2 |grep -v grep
else
echo "TSS_1进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxTSS_2进程检查¥xxxxxxxx"
TSS="`ps aux | grep -i om_tran_store_server| grep -v dts2 |grep -v grep |wc -l`"
if [ $TSS -ge "1" ]; then
echo "TSS_2服务启动正常"
ps aux | grep -i om_tran_store_server | grep -v dts2 |grep -v grep
else
echo "TSS_2进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxCPS进程检查¥xxxxxxxx"
CPS="`ps aux | grep -i calp_protocol_server| grep -v dts2 |grep -v grep |wc -l`"
if [ $CPS -ge "1" ]; then
echo "CPS服务启动正常"
ps aux | grep -i calp_protocol_server| grep -v dts2 |grep -v grep
else
echo "CPS进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxSCS_1进程检查¥xxxxxxxx"
SCS="`ps aux | grep -i strategy_controller_server_gui| grep -v dts2 |grep -v grep |wc -l`"
if [ $SCS -ge "1" ]; then
echo "SCS_1服务启动正常"
ps aux | grep -i strategy_controller_server_gui | grep -v dts2 |grep -v grep
else
echo "SCS_1进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxSCS_2进程检查¥xxxxxxxx"
SCS="`ps aux | grep -i strategy_controller_server_monitor| grep -v dts2 |grep -v grep |wc -l`"
if [ $SCS -ge "1" ]; then
echo "SCS_2服务启动正常"
ps aux | grep -i strategy_controller_server_monitor | grep -v dts2 |grep -v grep
else
echo "SCS_2进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxSSCH进程检查¥xxxxxxxx"
SSCH="`ps aux | grep -i strategy_scheduler| grep -v dts2 |grep -v grep |wc -l`"
if [ $SSCH -ge "1" ]; then
echo "SSSCH服务启动正常"
ps aux | grep -i strategy_scheduler | grep -v dts2 |grep -v grep
else
echo "SSCH进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxWDC进程检查¥xxxxxxxx"
WDC="`ps aux | grep -i WDC |grep -v grep |wc -l`"
if [ $WDC -eq "12" ]; then
echo "WDC服务启动正常"
ps aux | grep -i WDC | grep -v dts2 |grep -v grep
else
echo "WDC进程程动失败!!请即时检查失败原因 !!"
fi
echo "xxxxxxxxInternalLM进程检查¥xxxxxxxx"
LM="`ps aux | grep -i internal_lm |grep -v grep |wc -l`"
if [ $LM -ge "1" ]; then
echo "LM服务启动正常"
ps aux | grep -i internal_lm |grep -v grep
else
echo "LM进程程动失败!!请即时检查失败原因 !!"
fi