From the course: Linux CentOS 7: Shells and Processes

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Monitor processes in real time

Monitor processes in real time - Linux Tutorial

From the course: Linux CentOS 7: Shells and Processes

Start my 1-month free trial

Monitor processes in real time

- [Instructor] The ps command shows you up to date process information, but we have to keep running it to get real-time data. Linux has another tool used just for displaying real-time process information called TOP. In a terminal, start TOP by typing in top and hitting enter. Note that the display is being updated every couple of seconds. In the summary area at the top of the screen TOP shows how long the system has been up, the load average, how many processes are running, how many are waiting for CPU time, the overall CPU usage, and memory usage. We can modify this area with a few shortcuts. Press L to show or hide the load average/uptime line. Press number one if you want to show CPU usage for all CPU cores if you have more than one. Press T if you want to toggle between task and CPU states. You can also turn this data off as well. Pressing number one and T allows you to have a solid bar for each CPU core. Press M to toggle between different memory displays or turn off memory…

Contents