1.进入到data
cd /data/
2.下载serveragent
wget https://github.com/undera/perfmon-agent/releases/download/2.2.3/ServerAgent-2.2.3.zip
给权限 chmod 775 ServerAgent-2.2.3.zip
3.解压
ll
unzip ServerAgent-2.2.3.zip
cd ServerAgent-2.2.3/
ll
4.启动和指定端口
nohup ./startAgent.sh --udp-port 0 --tcp-port 1888 &
netstat -anp|grep 1888
Service iptables stop