①. Download Jmeterplugins related jar package, put JMeter installation path \lib\ext Under--this time to start JMeter will find that when adding the listener, there is a bunch of [email protected] ..., these are the credit of the plugin.
Jmeterplugins-extras-1.1.2.zip, Jmeterplugins-standard-1.1.2.zip
1, put jmeterplugins-extras.jar/jmeterplugins-standard.jar to jmeter client jmeter/lib/ext.
2, start JMeter, add listener when you can see a lot of reports. (Start JMeter, if no error, prove plug-in available)
②. After downloading ServerAgent decompression, put in a path to the Linux server to be monitored, eg: my path is/home/azureuser/program/serveragent under, toggle this path, execute. Startagent.sh can start the monitoring plug-in.
Serveragent-2.2.1.zip
Usage: Perfmon is decompressed and placed on the server under test and shipped./startagent.sh, which works on port 4444 by default
1. Check if Linux port is started: Netstat-apnt|grep 4444
2. Check the JMeter machine to the Linux firewall: Telnet IP 4444
--------------------------------------------------------------------------------------Note: ServerAgent boot to rely on JDK Oh, JDK installation process slightly ( install a Linux version of the JDK, first of all, to view the Linux operating system information to facilitate the download of the appropriate JDK version )installation configuration JDK environment variables encountered problems: With the vi edit configuration file/etc profile, save always prompt is rejected, and then use sudo vi profile is properly, save, refresh the source profiles This configuration file can be. --------------------------------------------------------------------------------------
③. Right-click the JMeter thread Group, add "[email protected]-PerfMon Metrics Collector" and configure servers to monitor as follows:In this way, the CPU, memory and so on any server information can be monitored!
JMeter Monitoring Linux Server performance