Maybe some children's shoes do not know what the perfmon plug-in is doing. Here we will give a brief introduction: During load testing, we should always pay attention to the CPU and MEm of the server ...... But jmeter itself does not collect the information. At this time, perfmon came into being. Yes, it is used to collect various performance indicators of the server under pressure, for example: CPU, memory, swap, disks I/O and networks I/O ...... Enter the subject:
-
- : Http://code.google.com/p/jmeter-plugins/wiki/PerfMon
- Decompress the zip package andJmeterplugins. JarPut inJmeterClientJmeter/lib/EXTLower
-
- StartJmeter, AddListenerYou will seePerfmon metrics collectors
4. Decompress the downloaded zip package to the server, If you are running Linux (JRE environment is required), go to the serveragent directory and run the startagent. Sh Command, as shown below: Start:>./startagent. Sh -- UDP-port 0 -- TCP-Port port (the port listened to after the agent is started) Stop:>./startagent. Sh -- UDP-port 0 -- auto-Shutdown If you are in a Windows environment: Go to the serveragent directory and double-click Startagent. bat, start the agent
Note: The default listening port for the agent to start is 4444.
For specific parameters, refer to the following documents:
Http://code.google.com/p/jmeter-plugins/wiki/PerfMon
Http://code.google.com/p/jmeter-plugins/wiki/PerfMonMetrics