当前位置:网站首页>JMeter server resource indicator monitoring (CPU, memory, etc.)

JMeter server resource indicator monitoring (CPU, memory, etc.)

2022-07-06 20:14:00 Acrobat

One 、 Download installation package ( Server side ) Address :GitHub - undera/perfmon-agent: Server metrics fetching agent, based on SIGAR

Two 、 start-up ServerAgent

  Unzip the installation package :

  Here centos7 System examples , Put the extracted files into the system :

  And then execute starAgent.sh file

 

3、 ... and 、 establish jmeter Script and execute

Create thread group (5 Users continue to execute 1 minute )

establish http request :

  Create a listener [email protected] - PerfMon Metrics Collector

jmeter Default without this listener , You need to install the plug-in yourself , May refer to :jmeter Download common listener plug-ins _zaxuezhe The blog of -CSDN Blog

  Set the performance monitoring controller

 

  Click Run script , You can see 1 Performance index value detected within minutes ( You need to turn off the firewall on the server )

 

Be careful : If the server-side firewall needs to be turned off when it is turned on , Otherwise, the following error will be reported :

  View firewall status :systemctl status firewalld

Turn off firewall temporarily :systemctl stop firewalld

 

原网站

版权声明
本文为[Acrobat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131229534626.html