#!/bin/ksh
a=`ps -ef|grep “move_arch_files.ksh”|grep -v grep|wc -l`
if [ $a -gt 2 ]
then
echo “Exiting because of more than 1 Moving archive log script is running ”
exit
fi
#
## Setting Environment information and variables
#
NODENAME=`hostname`