How to Check System Status Using top?
Top is a utility that provides information about the current system load. With it, you can track the processes that consume the most resources on your computer or server. However, to successfully use top, you need to know a few key commands.
In this article, we will look at the basic commands that will help you check the system status using top.
1. Running top
To run top, simply enter the following command in the terminal:
top
After executing this command, you will see a table with processes and their parameters.
2. Sorting Processes
To sort processes by a specific parameter, for example, by CPU usage, you can use the following command:
top -o %CPU
This command will sort processes by CPU usage in descending order.
3. Viewing Additional Information
To get more information about processes, you can use additional top parameters. For example, to view additional information about processes, you can use the command:
top -c
This command displays the full paths to the processes.
4. Exiting top
To exit the top utility, simply press the «q» key.
Now you have the necessary knowledge to check the system status using top. Don’t forget to use these commands to track processes and resources on your computer or server.