Perfmon is not a jmeter-native tool. You also need to download some plug-ins to use this tool.
1, JMeter Plugins Manager Download:
The plug-in is a plug-in that manages Plug-ins. Download page (https://jmeter-plugins.org/downloads/all/), after downloading is a jar (Jmeter-plugins-manager-0.10.jar), put the jar into the JMeter lib/ Ext directory, restart the jmeter can be.
After restarting, you can see the Plugins Manager menu in the options,
Click in, you can do plug-in upgrades, downloads and so on.
2, Perfmon Plug-ins:
Perfmon consists of two main parts: ServerAgent, the Metrics Collector Listener
1) ServerAgent:
ServerAgent is placed on the measured server to collect server-related performance metrics (CPU, memory, TCP, etc.) and metrics information such as JMX, which is then sent to JMeter via the TCP or UD protocol. After startup, the default listener 4444 port, ServerAgent is a text protocol, you can use any client to send/Receive metrics data information.
Download the address (https://jmeter-plugins.org/wiki/PerfMonAgent/), after decompression into the directory, the implementation of startagent.sh or Startagent.bat can start the agent.
2) The Metrics Collector Listener
The Metrics Collector Listener is a plug-in running on JMeter that collects the Metrics information sent by the agent and displays the chart.
Download Address: (Https://jmeter-plugins.org/?search=jpgc-perfmon), after the pressure, the Lib two jar copy to the JMeter Lib directory, bar lib/ The two jars inside ext are copied to the JMeter lib/ext directory. Restart the jmeter.
In the JMeter add > Listener, you can select the Perfmon option:
Before the test, you can start the agent on the test server, turn on JMX, and then use the monitor in Perfmon to view server-related information and JMX-related information during the pressure test.
After the test, see the results:
Reference: Https://www.blazemeter.com/blog/how-monitor-your-server-health-performance-during-jmeter-load-test
Http://www.zhyea.com/2016/02/02/jmeter-perfmon-remote-monitor.html
Official website: https://jmeter-plugins.org/wiki/Start/
PerfMon serveragent Download Address, Introduction: https://jmeter-plugins.org/wiki/PerfMonAgent/
The Metrics Collector listener download Address: Https://jmeter-plugins.org/?search=jpgc-perfmon