1. Core commandsLinux monitors network IO, disk, CPU, and memory:
2. Common commands (1) Memory: number of memory sticks, size of each stick, whether the memory is DDR4 or DDR3, memory frequency is 2666MT/S or 1600MT/s Number of entries: dmidecode|grep -A5 'Memory Device'|grep Size | grep -v Installed |wc -l (2) Hard disk: number of blocks, size
(3) Check which process occupies the port
(4) View process resources
(5) Number of CPUs
(6) Number of CPU cores
(7) CPU main frequency
3. Detailed explanation of core commands3.1, ps auxThe ps command is used to view the process status of the system
3.2 TopThe top command is a commonly used performance analysis tool under Linux. It can display the resource usage of each process in the system in real time, similar to the Windows Task Manager.
1. The upper part shows the overall system load:
2. The lower part shows the running status of each process:
According to the above commands, set up monitoring warnings in advance. Monitoring and early warning can enable you to timely discover system performance information, such as the disk is almost full or the memory is overloaded, so we can make adjustments in advance. Finally, don’t panic when you encounter problems. According to experience, use commands to check memory, disk, network, and CPU. The problems are nothing more than these few categories. Don't rush to make changes and complicate simple problems. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: CSS to achieve chat bubble effect
>>: Getting Started Tutorial for Beginners⑧: Easily Create an Article Site
Table of contents Written in front Requirements A...
Table of contents Avoid using the spread operator...
1. About Registry The official Docker hub is a go...
Nginx does not support nested if statements, nor ...
Table of contents Mode Parameters HashHistory Has...
Step 1: Check the local Ethernet properties to se...
After reading some articles, I finally figured ou...
Table of contents nextTick v-model syntax sugar ....
MySQL dynamically modify replication filters Let ...
The overall architecture of NGINX is characterize...
Table of contents Class void pointing ES6 Arrow F...
I am a beginner in SQL and thought that the insta...
Using c3p0 Import the c3p0jar package <!-- htt...
There are two ways to export csv in win10. The fi...
1. Use basic text elements to mark up content Fir...