Using top you can monitor processes and the resources they use. Top has many formatting options to sort by different programs as well as edit. Top can also be used to nice or renice a command. In addition if you need to end a process top helps out again. By sending a process the appropriate signal you can tell a process to stop. If it refuses we can forcibly remove it.
- [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 statistics.…In the fields area, it shows the same fields as ps.…
- Write the command that will take you to the most recent directory.
- Write the command that brings back the arguments and options from the previous line.
- Explain what extended globs can do.
- Identify the access.conf line that will restrict all users from using the cron service except for the user named bob.
- List the line that will get a list of only running services.
- Identify what typing ‘systemctl enable crond’ will do.
Skill Level Intermediate
Linux: User and Group Managementwith Grant McWilliams1h 8m Intermediate
1. Linux Shells Overview
2. Using the Bash Shell
3. Linux Processes
4. Job Scheduling
5. System Services
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.