当前位置:网站首页>Use of JMeter easynmon
Use of JMeter easynmon
2022-06-25 00:20:00 【Dream_ xang】
Jmeter-easyNmon Use
In this paper, Linux Environment , How to use easyNmon Monitor the server CPU、 Memory 、 network card 、 Read / write rate, etc .
One 、EasyNmon Download and install
1. download
easyNmon: An automatic monitor and generate HTML Tools for formatting reports .
easyNmon download Extraction code :jz2l
Find the version you need , What I use here is 1.3 edition .
2. install
Once the download is complete , copy to Linux Server , Use the command to unzip
tar -zxf easyNmon.tar.gz
3. start-up
After decompression , Open folder easyNmon, Start... With the following command :( Choose your own way )
./easyNmon # The front desk starts , Console disconnect service stop
./easyNmon & # Background start , The console disconnect service also stops
nohup ./easyNmon > easyNmon.log & # Background start , The console disconnect service is still running
stay easyNmon Under the table of contents , Input ./easyNmon -h Check out the information
Get into easyNmon Directory , There will be four files
report The test report is stored in the .
4. Modify the port
The default port is 9999, If you need to modify the access web Address port of the page , You need to modify it yourself , The order is
./easyNmon -p Port number
./easyNmon -p 1234 # The front desk starts , Console disconnect service stop
./easyNmon -p 1234 & # Background start , The console disconnect service also stops
nohup ./easyNmon -p 1234 > easyNmon.log & # Background start , The console disconnect service is still running
nohup ./easyNmon & # start-up
Two 、Jmeter Set up
1. Set up thread group
setUp Thread Group and tearDown Thread Group
Set up a controller that executes only once in the thread group :
Add startup easyNmon Request :
Parameters n File name for generating report ,
Parameters t For monitoring duration ( Units of minutes ),
Parameters f For monitoring frequency , Every how many seconds ;
Add stop easyNmon Request :
Be careful : Stop is not the end , Adjusted Close The service will be shut down , You need to turn it on again .
Opening method :
- open easyNmon Catalog , Enter and execute :
./easyNmon
./nmon
- Start and execute jmeter Script
perform jmeter Script time , Because you call start first easyNmon service , Will be in easyNmon See the following prompt in the directory , There will also be stop A hint of . - If there are no steps 2 Tips in , close jmeter Script , Repeat the steps 1 The instructions in , Turn it on again easyNmon service .
report Middle Report :
open index.html You can view the results
Be careful :
- If jmeter The client connects to the server remotely , You can't generate report When testing the report , Be careful easyNmon Start the configuration of desired parameters , Before, you only need to configure n、t, Now you need to configure n、t、f.
- The server time should be adjusted to be consistent with the actual time .
1. Check the time and date command : "date" 2. Set time and date for example : Set the system date to 2021 year 5 month 19 The order of the day command : "date -s 5/19/2009" Set the system time to afternoon 5 spot 55 branch 55 Second command command : "date -s 17:55:55" 3. Write the current time and date to BIOS, Avoid failure after restart command : "hwclock -w"
- The remote connection cannot be made to easyNmon, Check that the server firewall is turned off .
su root, press return , Input password , That is, you can switch the current user to root user . systemctl stop firewalld, press return , Will turn off the firewall service . systemctl status firewalld, press return , You can see that the anti-inflammatory wall service has been turned off .
边栏推荐
- Im instant messaging development application keeping alive process anti kill
- ∞符号线条动画canvasjs特效
- 教程详解|在酷雷曼系统中如何编辑设置导览功能?
- Do280openshift access control -- encryption and configmap
- 不重要的token可以提前停止计算!英伟达提出自适应token的高效视觉Transformer网络A-ViT,提高模型的吞吐量!...
- Dynamic effect of canvas lines
- C program design topic 15-16 final exam exercise solutions (Part 1)
- In the past 5 years, from "Diandian" to the current test development, my success is worth learning from.
- 5年,从“点点点”到现在的测试开发,我的成功值得每一个借鉴。
- 无需显示屏的VNC Viewer远程连接树莓派
猜你喜欢
MySQL log management
美国众议院议员:数字美元将支持美元作为全球储备货币
Discrete mathematics and its application detailed explanation of exercises in the final exam of spring and summer semester of 2018-2019 academic year
Color gradient gradient color collection
2019 summary and 2020 outlook
Canvas spiral style animation JS special effect
How to delete the entire row with duplicate items in a column of WPS table
[interview question] what is a transaction? What are dirty reads, unrepeatable reads, phantom reads, and how to deal with several transaction isolation levels of MySQL
Power application of 5g DTU wireless communication module
Modstart: embrace new technologies and take the lead in supporting laravel 9.0
随机推荐
How to delete the entire row with duplicate items in a column of WPS table
Meta&伯克利基于池化自注意力机制提出通用多尺度视觉Transformer,在ImageNet分类准确率达88.8%!开源...
Im instant messaging development application keeping alive process anti kill
What are the advantages of VR panoramic production? Why is it favored?
颜色渐变梯度颜色集合
融合模型权限管理设计方案
[interview question] the difference between instancof and getclass()
wx小程序跳转页面
How to use promise Race() and promise any() ?
Current situation and development prospect forecast report of global and Chinese tetrahydrofurfuryl alcohol acetate industry from 2022 to 2028
What is the difference between one way and two way ANOVA analysis, and how to use SPSS or prism for statistical analysis
C程序设计专题 15-16年期末考试习题解答(上)
Analysis report on operation trend and investment strategy of global and Chinese tetrahydrofurfuryl propionate industry from 2022 to 2028
干接点和湿接点
@mysql
Outer screen and widescreen wasted? Harmonyos folding screen design specification teaches you to use it
linux 系统redis常用命令
人体改造 VS 数字化身
【排行榜】Carla leaderboard 排行榜 运行与参与手把手教学
[issue 25] face to face experience of golang Engineer in the rightmost social recruitment