A comprehensive explanation of the top command under linux – real-time monitoring of server status – linux operation and maintenance

The top command under linux can be used to monitor the health status of the server in real time. This command can obtain a lot of information, and it is one of the best helpers for server operation and maintenance engineers. We know that the ps command can monitor the running status of each process on the server at a certain moment. Compared with ps, the top command can continuously monitor. top [options] Common options are as follows: -d screen refresh interval, the default is 5 seconds -n total screen refresh times -u specifies the user name -p specifies the process ID Next, let’s look at the top command The generated information top – 14:55:21 indicates the current time of the system up 12 days, 1:28 indicates the time the server has been running since the last startup 1 user How many current systems are there users have logged in load average: 0.17, 0.09, 0.13 indicates the workload of the system in the past 1 minute, 5 minutes, and 15 minutes. Load means that the system is running several programs at the same time. For a single-core CPU, it is normal if the load is less than 1. If there…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索