Linux systems can have hundreds of processes. You can view these with the ps command. The ps command has a ton of options but for this video we focus on Unix and GNU options. These options will allow you to get a lot of information about our system processes.
- [Instructor] A Linux system may have hundreds of processes…running at any time.…The first tool we'll look at to monitor processes…is the ps command.…In a terminal, type in ps and hit Enter.…By default, ps only shows the processes…run by the user executing it.…It shows the process ID,…the terminal that was run on,…the aggregated execution time,…and the command that was run.…Oddly, the ps command has three different types…of syntax options: Unix, BSD, and GNU.…
The Unix options looks as you'd expect…with a dash before a single letter.…The GNU options are words with two dashes…just like other commands.…The odd ones are the BSD options…which don't have any dashes at all.…For this course,…we'll focus on the Unix and GNU options.…To get ps to display every process,…we'll want to use the -e option.…Type in "ps -e" and hit Enter.…This still shows the same columns as ps with no options,…but shows every process.…
To give us an idea of…which processes start at other processes,…we can pass the Hierarchy option, or -H.…Type in "ps -eH".…
- Topics include:
- Shell tips and tricks
- Pattern matching with globs
- Pattern matching with extended globs
- Using the Bash shell
- Monitoring processes using ps
- Monitoring processes graphically
- Managing processes
- Job scheduling
- Limiting access to AT and cron jobs
- Managing system services
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?
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.