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 1. Requirements description 2. ...
Detailed explanation of linux touch command: 1. C...
Table of contents The first method: router-link (...
Table of contents What is JSI What is different a...
Table of contents 1. Introduction to Concurrency ...
This article summarizes some common MySQL optimiz...
<br />Yesterday I saw at W3C that the new HT...
Table of contents 1. Overview of MySQL Logical Ar...
The following example code introduces the princip...
This article uses examples to illustrate the comm...
Installing and deploying a private Docker Registr...
This article shares the specific code for drawing...
Table of contents Preface Centering inline elemen...
Specific method: First open the command prompt; T...
Preface As one of the best web servers in the wor...