脚本修改

Raod 3 years ago
parent d23d8ba53c
commit b7b8074fe9

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
pid=`ps ax | grep -i 'report-core' | grep java | grep -v grep | awk '{print $1}'` pid=`ps ax | grep -i 'aj-report' | grep java | grep -v grep | awk '{print $1}'`
if [ -z "$pid" ] ; then if [ -z "$pid" ] ; then
echo "No AJ-Report Server running." echo "No AJ-Report Server running."
exit -1; exit -1;
@ -7,4 +7,4 @@ fi
kill -9 ${pid} kill -9 ${pid}
echo "Send shutdown request to report-core(${pid}) OK" echo "Send shutdown request to aj-reporte(${pid}) OK"

Loading…
Cancel
Save