Redhat view cpu, memory, and network usage

Source: Internet
Author: User

Redhat allows you to view cpu usage, memory usage, and network usage during system maintenance. You may need to view CPU usage at any time and analyze the system status based on the information. In redhat, you can use the top command to view CPU usage. After the top Command is run, the CPU usage status is displayed in full screen mode and in dialog mode. The top-based command can be used to control the display mode. The command to exit top is q (Press q once in top running ). The top command reflects the dynamic information of the system process. The default value is 10 s. 1. Operation instance: Enter "top" in the command line to start the top line (top ): "00:11:04" indicates the current time of the system, "" indicates the current time of operation after the system is started, and "2 users" indicates the user currently logged on to the system, more specifically, the number of terminals that log on to a user-connections to multiple terminals of the system from the same user at the same time are considered as connections from multiple users to the system, the number of users here will also be the number of terminals; "load average" is the average value of the current system load, the following three values are the average number of processes one minute ago, five minutes ago, and 15 minutes ago. Generally, when this value exceeds the number of CPUs, the CPU is hard to load the processes contained in the current system. The first line is the same as the W command, that is, the second line of user information (Tasks): "59 total" indicates the total number of processes in the current system; "1 running" indicates the number of processes currently running, and "58 sleeping" indicates the number of processes in the waiting status. Number of processes; "0 stoped" indicates the number of stopped system processes; "0 zombie" indicates the number of recovered processes; the second line indicates the execution of all processes. The third line indicates the CPU usage. The fourth and fifth lines indicate the memory usage and swap partition usage. 2. When top monitoring is to be determined, processes of all users in the system will be monitored. You only want to monitor the users to be determined. you can press the U key, specify the user account, press Enter 3, and then press the K key to terminate the processes in execution, enter the PID to be deleted.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.