How to use the top command in SUSE system to monitor system resource usage?
In SUSE system, you can use the following steps to use the top command to view system resource usage.
- Open the terminal and type in the following command to start the top command:
top
- In the top command interface, you will see the system resource usage displayed as shown below:
top - 08:30:11 up 1 day, 3:45, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 118 total, 1 running, 117 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 7979.8 total, 6811.2 free, 552.8 used, 615.8 buff/cache
MiB Swap: 8192.0 total, 8192.0 free, 0.0 used. 7221.4 avail Mem
- In the top command interface, you can view basic information about the current system, such as CPU usage, memory usage, and process lists. You can use arrow keys on the keyboard or other shortcuts to see more details, for example, pressing the “1” key will display the usage of each CPU core.
- To exit the top command, you can press the “q” key.
By following the steps above, you can use the top command to check the system resource usage in the SUSE system.