#!/bin/sh curuser=`whoami` if [ $curuser = "root1" ];then echo "root Operation is not allowed!!" exit -1 fi ./tlogd --id=10.999.84.1 --business-id=10 --conf-file ./tlogd.xml --pid-file=./logd_10_999_svr.pid -D stop