13 lines
253 B
Bash
13 lines
253 B
Bash
#!/bin/bash
|
|
pid=`ps ax | grep -i 'ld-report' | grep java | grep -v grep | awk '{print $1}'`
|
|
if [ -z "$pid" ] ; then
|
|
echo "No ld-report Server running."
|
|
exit -1;
|
|
fi
|
|
|
|
kill -9 ${pid}
|
|
|
|
echo "Send shutdown request to ld-reporte(${pid}) OK"
|
|
|
|
|