Systemctl is a systemd utility which is responsible for Controlling the systemd system and service manager.
Systemd is a collection of system management daemons, utilities and libraries which serves as a replacement of System V init daemon. Systemd functions as central management and configuration platform for UNIX like system.
In the Linux Ecosystem Systemd has been implemented on most of the standard Linux Distribution with a few exception. Systemd is the parent Process of all other daemons oftenly but not always.
This article aims at throwing light on “How to control System and Services” on a system running systemd.
Starting with Systemtd and Systemctl Basics
1. First check if systemd is installed on your system or not and what is the version of currently installed Systemd?
It’s clear from the above example, that we have systemd 215 version Installed.
2. Check where the binaries and libraries of systemd and systemctl are installed.
3. Check whether systemd is running or not.
Notice: systemd is running as parent daemon (PID=1). In the above command ps with (-e) select all Processes, (-a) select all processes except session leaders and (-f) for full format listing (i.e. -eaf).
Also note the square brackets in the above example and rest of the examples to follow. Square Bracket expression is part of grep’s character class pattern matching.
No comments:
Post a Comment