From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Diagnose and manage processes - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Diagnose and manage processes
- [Instructor] Whenever we launch a program, it lives as a so-called "process" on the operating system, that is, until it finishes its job or it's closed. For example, when we run a command such as ls, a short-lived process gets created. The process for ls displays a directory's content, and as soon as the job is finished, the process is closed. Other processes though, have a long life. The SSH daemon is a good example as it's usually running continuously on a Linux server. The commonly used command to inspect processes is ps, and ps is a bit weird because it supports two kinds of syntaxes for its options: -a in a command like ps -a uses the Unix syntax. In a command like ps a, however, the BSD syntax is used. And ps -a has an entirely different effect than ps a. The -a and a options are not equivalent. If we use ps without any options, we'll see a result like this. By default, ps will only show us processes launched in our current terminal window or session, but we're interested in…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Boot, reboot, and shutdown a system safely3m 12s
-
(Locked)
Boot or change system into different operating modes (optional)3m 38s
-
(Locked)
Use scripting to automate system maintenance tasks11m 42s
-
(Locked)
Manage startup process and services11m 32s
-
(Locked)
Create systemd services15m 21s
-
(Locked)
Diagnose and manage processes21m 48s
-
(Locked)
Locate and analyze system log files10m 52s
-
(Locked)
Schedule tasks to run at a set date and time13m 27s
-
(Locked)
Manage software with package manager5m 48s
-
(Locked)
Configure the repositories of package manager9m 37s
-
(Locked)
Install software by compiling source code6m 54s
-
(Locked)
Verify integrity and availability of resources and processes10m 28s
-
(Locked)
Change kernel runtime parameters, both persistent and non-persistent5m 46s
-
(Locked)
List and identify SELinux file and process contexts9m 1s
-
(Locked)
Create and enforce MAC using SELinux27m 42s
-
(Locked)
Create and manage containers22m 51s
-
(Locked)
Manage and configure virtual machines8m 35s
-
(Locked)
Create and boot a virtual machine16m 29s
-
(Locked)
Installing an operating system on a virtual machine4m 5s
-
(Locked)
-
-
-
-