#!/bin/sh curuser=`whoami` if [ $curuser = "root1" ];then echo "root Operation is not allowed!!" exit -1 fi ../bin/logload_svr --id=10.999.81.1 --log-level=300 --conf-file ../cfg/logload_svr.xml --pid-file=./logload_10_999_svr.pid stop