设置export GOT_YACE_MODE=true

查看 env|grep GOT_YACE_MODE

 上面的不管用

# You could check uidgid reservation validity in
# /usr/share/doc/setup-*/uidgid file
if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ]; then
umask 002
else
umask 022
fi

for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
if [ "${-#*i}" != "$-" ]; then
. "$i"
else
. "$i" >/dev/null
fi
fi
done

unset i
unset -f pathmunge

UserIP=$(who -u am i | cut -d"(" -f 2 | sed -e "s/[()]//g")
export HISTTIMEFORMAT="[%F %T] [`whoami`] [${UserIP}] "
PATH=/usr/java/jdk1.8.0_111/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/app/program/mysql-5.7.15/bin:/app/program/nginx-1.11.3/sbin:/root/bin:/usr/java/jdk1.8.0_111/jre/bin:/app/program/mysql-5.7.15/bin:/app/program/nginx-1.11.3/sbin:/app/program/redis-3.2.5/bin:/app/lib/zookeeper/bin/
export PATH

GOT_ZK_CONNECT=localhost:2181
GOT_HOME=/data/got_pc
EXCEL_FILE_DIR=/data/got_pc/conf
GOT_YACE_MODE=true
#single_host=fs1461430002-got.uuzuonline.net
export GOT_ZK_CONNECT EXCEL_FILE_DIR GOT_HOME GOT_YACE_MODE

JAVA_HOME=/usr/java/jdk1.8.0_101
export JAVA_HOME
BTRACE_HOME=/data/btrace/btrace-1.3.8.3
export BTRACE_HOME
export PATH=$PATH:$BTRACE_HOME/bin