随笔 - 61  文章 - 0 评论 - 3 阅读 - 22万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

1、安装下载插件:

JMeterPlugins-Extras.jar、JMeterPlugins-Standard.jar  https://jmeter-plugins.org/downloads/old/

2、下载监控客户端:ServerAgent-2.2.3.zip   https://github.com/undera/perfmon-agent

3、将jar包放置在jmeter的/lib/ext目录下,并重启jmeter

4、将监控客户端放置在目标服务器上,unzip解压,并启动

  --默认端口为4444,端口被占用时,选择其他端口启动:

  ./startAgent.sh --udp-port 0 --tcp-port 1234

5、在本地客户端,添加PerfMon Metrics Collector监听器

 

监控指定线程的资源占用:

1、Metric parameter区域,双击

 

 2、点击设置按钮

 

3、Scope选择 Per Process选项

 

 

 4、填写Process ID 或者 Process Name

5、点击 Apply

 

 

 

 本文来源:https://www.cnblogs.com/poloyy/p/13196058.html

 

posted on   阿宅gogo  阅读(285)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· winform 绘制太阳,地球,月球 运作规律
· 上周热点回顾(3.3-3.9)
点击右上角即可分享
微信分享提示