当前位置:网站首页>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 .
边栏推荐
- Dynamic effect of canvas lines
- 【图数据库性能和场景测试利器LDBC SNB】系列一:数据生成器简介 & 应用于GES服务
- 融合模型权限管理设计方案
- ArcGIS加载免费在线历史影像作为底图(不需要插件)
- MySQL日志管理
- JDBC - database connection
- 磁带svg动画js特效
- Analysis report on operation trend and investment strategy of global and Chinese tetrahydrofurfuryl propionate industry from 2022 to 2028
- [issue 25] face to face experience of golang Engineer in the rightmost social recruitment
- Technology sharing | wvp+zlmediakit realizes streaming playback of camera gb28181
猜你喜欢
随机推荐
信号完整性(SI)电源完整性(PI)学习笔记(二十五)差分对与差分阻抗(五)
【Proteus仿真】定时器0作为16位计数器使用示例
Im instant messaging development application keeping alive process anti kill
Related operations of ansible and Playbook
How to delete the entire row with duplicate items in a column of WPS table
Reservoir dam safety monitoring
Current situation and development prospect forecast report of global and Chinese tetrahydrofurfuryl alcohol acetate industry from 2022 to 2028
Simple collation of Web cache
Approaching harvest moon:moonbeam DFI Carnival
VR全景制作的优势是什么?为什么能得到青睐?
canvas线条的动态效果
Common redis commands in Linux system
在滴滴和字节跳动干了 5年软件测试,太真实…
The third generation of power electronics semiconductors: SiC MOSFET learning notes (V) research on driving power supply
D does not require opapply() as a domain
DO280OpenShift访问控制--加密和ConfigMap
Collective example
MySQL semi sync replication
Wx applet jump page
I suddenly find that the request dependent package in NPM has been discarded. What should I do?









