当前位置:网站首页>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 .
边栏推荐
- After 5 years of software testing in didi and ByteDance, it's too real
- Adding, deleting, modifying and checking in low build code
- Dynamic effect of canvas lines
- 走近Harvest Moon:Moonbeam DeFi狂欢会
- Im instant messaging development application keeping alive process anti kill
- DO280OpenShift访问控制--加密和ConfigMap
- Transition from digitalization to intelligent manufacturing
- Ansible及playbook的相关操作
- Why do more and more physical stores use VR panorama? What are the advantages?
- Current situation analysis and development trend prediction report of hesperidase industry in the world and China from 2022 to 2028
猜你喜欢

为什么越来越多的实体商铺用VR全景?优势有哪些?

在滴滴和字节跳动干了 5年软件测试,太真实…
Design and practice of vivo server monitoring architecture

Why are life science enterprises on the cloud in succession?

Meta&伯克利基于池化自注意力机制提出通用多尺度视觉Transformer,在ImageNet分类准确率达88.8%!开源...

Related operations of ansible and Playbook

Opengauss kernel: simple query execution

Discrete mathematics and its application detailed explanation of exercises in the final exam of spring and summer semester of 2018-2019 academic year

创意SVG环形时钟js特效

Signal integrity (SI) power integrity (PI) learning notes (XXV) differential pair and differential impedance (V)
随机推荐
为什么越来越多的实体商铺用VR全景?优势有哪些?
融合模型权限管理设计方案
Dry and wet contacts
Hyperledger Fabric 2. X dynamic update smart contract
Hibernate learning 2 - lazy loading (delayed loading), dynamic SQL parameters, caching
时间统一系统
Zed acquisition
Eye gaze estimation using webcam
Current situation and development prospect forecast report of global and Chinese tetrahydrofurfuryl alcohol acetate industry from 2022 to 2028
Go crawler framework -colly actual combat (I)
Collection of software testing and game testing articles
Fast pace? high pressure? VR panoramic Inn brings you a comfortable life
Report on operation pattern and future prospect of global and Chinese propyl isovalerate industry from 2022 to 2028
WordPress add photo album function [advanced custom fields Pro custom fields plug-in series tutorial]
Analysis report on development mode and investment direction of sodium lauriminodipropionate in the world and China 2022 ~ 2028
Modstart: embrace new technologies and take the lead in supporting laravel 9.0
Svg+js keyboard control path
节奏快?压力大?VR全景客栈带你体验安逸生活
5年,从“点点点”到现在的测试开发,我的成功值得每一个借鉴。
美国众议院议员:数字美元将支持美元作为全球储备货币