Monitor monitoring of JMeter performance test (Sshmon Samples Collector)

Source: Internet
Author: User



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)


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.