From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Get systemd service status
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)
Get systemd service status
- Systemd manages system services in CentOS 7. It also manages a lot of other objects like devices, system timers and targets, the systemd equivalent to run levels. Systemd objects are called units, and for each unit, there's a unit file for configuration. For this course, we are only concerned with service units and service unit files. The command that systemd uses to manage these units is systemctl. To look at our service unit files, type into a terminal, systemctl list-unit-files -at service and hit enter. By default, list unit files -t service will show all enabled service unit files. Enabled meaning services that are configured to start up automatically. By adding -a, it will show both enabled and disabled service unit files. Notice that the systemctl subcommand is list unit files. This means we're just looking at the unit files and their status. We're not yet looking at the running status of services. The…
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)
Understand the Linux boot process2m
-
(Locked)
Boot into the emergency target5m 54s
-
(Locked)
Introduction to systemd services2m 32s
-
(Locked)
Get systemd service status3m 56s
-
(Locked)
Manage systemd services2m 33s
-
(Locked)
Make systemd services persistent1m 40s
-
(Locked)
Configure networking4m 41s
-
(Locked)
Configure a system to use network time protocol4m 9s
-
(Locked)
Manage one-time jobs with AT4m 4s
-
(Locked)
Manage reccuring user jobs with cron5m 2s
-
(Locked)
Manage reccuring system jobs with cron2m 41s
-
(Locked)
Limiting access to AT and cron3m 41s
-
(Locked)
-
-
-