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
Since I often install the system, I have to reins...
Scenario You need to authorize the tester to use ...
<br />Structure and hierarchy reduce complex...
Table of contents Preface Preview text Graphics C...
Table of contents 1. Introduction 2. Configuratio...
#include <asm/io.h> #define ioremap(cookie,...
In the MySQL database, when we need fuzzy query, ...
Scary, isn't it! Translation in the picture: ...
Implementation principle The main graphics are co...
environment Host IP 192.168.0.9 Docker version 19...
What is Nginx access restriction configuration Ng...
Table of contents The principle of Vue asynchrono...
1. MIME: Multipurpose Internet Mail Extensions Th...
This article shares the specific code of Vue to i...
This article example shares the specific code of ...