jmeter中通过PerfMon Metrics Collector插件监控CPU和内存等等显示ConnectException连接超时【杭州多测师_王sir】

发布时间 2023-03-28 11:55:32作者: 多测师_王sir

一、问题定位
1、jmeter中通过PerfMon Metrics Collector插件监控CPU和内存等等显示ConnectException连接超时

2、定位到是因为服务器端没有启动serverAgent.sh代理,启动发现4444端口已经被占用,通过ps -ef|grep 关键字,找到进程kill掉,然后通过
cd /root/ServerAgent-2.2.1/   
chmod +x  startAgent.sh 
touch nohup.out
nohup  ./startAgent.sh  nohup.out &  ==》后台启动
netstat -ntlp  
ps -ef | grep Agent
tail -f /root/ServerAgent-2.2.3/nohup.out