#!/bin/ksh

#  remove existing LD DB files
#  kill p7ld_collector
#  it will automatically restart itself under the platform because
#  /etc/opt/platform7/resources/startup/ScheduledTasks_3/10.LDC_Start specifies RESTART

# source access7 profile
. /etc/opt/platform7/share/env/p7profile
. /opt/platform7/lbin/profile

rm /var/opt/p7ld/db/ilm*

sleep 5

PID=`ps -ef |grep p7ld_collector | grep -v grep | awk '{print $2}'`
#echo $PID

kill $PID
