Introduction Stress test process, at any time on the load server health status of the control is very important, with these data, we can accurately analyze the pressure measurement bottleneck. If you are facing a cluster, is it a beautiful thing to know if the load is being distributed correctly? To achieve these goals, the JMeter plug-in package now supports server monitoring! With this plugin, you can monitor the server's CPU, memory, Swap, disk I/O, and network I/O on almost all platforms!
The following monitoring plug-in shows the CPU usage of the 4 servers in the stress test:
Support for Metric statistics version 0.5.0 after the JMeter Server Proxy tool can support up to 75 system metrics. See detailed list.
Working principle Concept JMeter Unable to extract default metrics for servers other than Tomcat. To overcome this situation, we developed a server proxy that JMeter through this agent to obtain performance data. This proxy uses the SIGAR open Source Library, which is composed of a common Java section and a local library of each OS.
For details on installing the Server Proxy tool, see http://jmeter-plugins.org/wiki/PerfMonAgent.
In GUI mode GUI mode, you only need to add a server performance monitoring listener, define the list of servers and the type of metrics to monitor, make sure that the agent is running on the remote server without being blocked by the firewall, and then run the test. The data will be displayed in the live chart.
Non-GUI mode if you run JMeter in non-GUI mode (refer to the blog "Running JMeter stress test with non-GUI mode") and want to save the monitoring data to a file, simply configure the server Performance Monitor listener in the GUI to output the resulting file, as you As configured by the listener. After the pressure script is run, you can drag the saved file to the GUI and view the graphics data.
JMeter Property
- JmeterPlugin.perfmon.interval-Metric Collection time interval, in milliseconds
- JmeterPlugin.perfmon.useUDP-The value is true or False if a UDP connection is attempted after a TCP connection failure
View your performance data online loadosophia.org There's a feature that lets you see the performance data you've collected in a wonderful Web interface. This is an example of use.
Original link: http://jmeter-plugins.org/wiki/PerfMon/.
JMeter server Performance monitoring plug-in introduction