Great! You can learn various methods of monitoring the server again.
For example, there are several ways to use linux commands to monitor
Method 1: Dynamically monitor the top command
Method 2: Memory monitoring free -m
Method 3: disk iostat -d 2 3
And use the jmeter plug-in to monitor the server
We can use the ServerAgent plugin to collect data, just like a little spy.
In this way, use jmeter to collect and display the data.
If you use the Nmon plug-in to monitor server technology, we can start Nmon to monitor in real time
You can also collect monitoring data. In the actual performance test, we need to record the data within a period of time, such as:
Generate nmon report #nmon -s20 -c3 -f -m /usr/local/nmon_output and use nmon analyzer to analyze.
The blue line in the line graph is the change of CPU occupancy; the pink line is the change of disk IO;
1. cpu detailed data
CPU_ALL page: On this page, you can see the overall CPU data at each monitoring point as shown in the figure below, including User%, Sys%,
Wait%, Idle%, CPU%, and CPUs (cpu number) and corresponding charts.
2. Disk data information
DISK_SUMM page: record the number of disk reads and writes and IO times at each monitoring time point, as well as some calculated values;
As shown in the figure below, including the following details:
3. Memory details
MENM page: This page contains information data and charts of various aspects of the memory at each monitoring time point as shown in the figure below. The main information is as follows:
Linux server technology can also be monitored through Grafana
Use Node_exporter to collect linux data and send it to prometheus and display it through grafana.
Finally, there is Grafana monitoring mysql technology
Use mysqld_exporter to collect mysql data and send it to prometheus and display it through grafana.
Finally: The complete software testing video tutorial below has been sorted out and uploaded, and friends who need it can get it by themselves [Guaranteed 100% free]
Software Testing Interview Documentation
We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.