From the course: Linux System Engineer: Kernel Tuning and Remote Logging
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Monitor processes in real time
From the course: Linux System Engineer: Kernel Tuning and Remote Logging
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 t-o-p 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
-
-
-
Introduction to performance testing52s
-
(Locked)
Monitor processes using ps7m 29s
-
(Locked)
Monitor processes in real time4m 33s
-
(Locked)
Monitor processes using GNOME System Monitor1m 45s
-
(Locked)
Use Performance Co-pilot (PCP) to gather statistics4m 37s
-
(Locked)
Use turbostat to gather CPU statistics2m 44s
-
(Locked)
Use SS to gather network statistics3m 19s
-
(Locked)
Other CLI performance monitoring tools5m 30s
-
-
-
-
-
-