When doing load testing, we should always be concerned about the Cpu,mem of the server ... Use, but JMeter itself does not collect the information, and this time the perfmon was born. Yes, he's the one that collects the various performance metrics for a compressed server, such as: CPU, Memory, Swap, Disks I/O and Networks I/o ...
Go to the Chase:
- : Http://code.google.com/p/jmeter-plugins/wiki/PerfMon
- Unzip the ZIP package and place the Jmeterplugins.jar under the jmeter/lib/ext of the JMeter client
- Start JMeter and add Listener when you see PerfMon Metrics Collectors
4. Unzip the downloaded ZIP package onto the server,
If you are Linux (requires JRE environment), go to the ServerAgent directory and run the startagent.sh command as follows:
Start: >>./startagent.sh--udp-port 0--tcp-port Port (the ports listening after the agent is up)
Stop: >>./startagent.sh--udp-port 0--auto-shutdown
If you are a Windows environment: Enter the ServerAgent directory, double-click Startagent.bat, start the agent
Note: The agent starts the default listener port is 4444
Inside the specific parameters refer to the document:
Http://code.google.com/p/jmeter-plugins/wiki/PerfMon
Http://code.google.com/p/jmeter-plugins/wiki/PerfMonMetrics
Jmeter-perfmon Plug-in