A monitor in front of the monitoring is defective, this article uses jmeter4.0+ version, using plug-in Sshmon Samples collector to do resource monitoring
1. Download the plugin: Plugins-manager.jar, then put it in the Lib/ext directory and restart the jmeter.
2. Open options--> Plugins Manager, tick Sshmon Samples Collector in the "Available Plugins" column and click Apply Change and Restart Jmeter
3. The use of this plugin, the need to point the Linux SAR command, when learning this command, found a good article, share the following address: https://www.cnblogs.com/chris-cp/p/3674768.html
For this monitoring, self-organized to do performance testing may need to monitor the indicator command:
Used memory ratio: Sar-r 1 1 | awk '/^average:/{print $4} '
CPU used: Sar-u 1 1 | awk '/^average:/{print 100-$8} '
Total number of I/O transfers per second for physical devices: Sar-b 1 1 | awk '/^average:/{print '
Length of Run queue: Sar-q 1 1 | awk '/^average:/{print '
Number of processes (processes) and threads (threads) in the process list: Sar-q 1 1 | awk '/^average:/{print $} '
System Exchange activity Information (in): Sar-w 1 1 | awk '/^average:/{print '
System Exchange activity information (out): Sar-w 1 1 | awk '/^average:/{print $} '
Number of file handle (handle) Usage: Sar-v 1 1 | awk '/^average:/{print $} '
Number of usage of index node handle (inode handle): Sar-v 1 1 | awk '/^average:/{print $4} '
Network monitoring: sar-n [DEV | Edev | NFS | NFSD | SOCK | ALL]
Monitor monitoring of JMeter performance test (Sshmon Samples Collector)