Birmingham mumbai


Managing system processes



Download 15,21 Mb.
Pdf ko'rish
bet238/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   234   235   236   237   238   239   240   241   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

Managing system processes
System processes, also known as 
daemons
, are programs that run in the background 
on your server and are typically started automatically when it boots. We don't 
usually manage these services directly as they run in the background to perform 
their duty, with or without needing our input. For example, if our server is a 
DHCP server and runs the 
isc-dhcp-server
 process, this process will run in the 
background, listening for DHCP requests and providing new IP assignments to 
them as they come in. Most of the time, when we install an application that runs 
as a service, Ubuntu will configure it to start when we boot our server, so we don't 
have to start it ourselves. Assuming the service doesn't run into an issue, it will 
happily continue performing its job forever until we tell it to stop. In Linux, services 
are managed by its 
init
 system, also referred to as 
PID 1
 since the 
init
 system of a 
Linux system always receives that PID.
In recent years, the way in which processes are managed in Ubuntu Server has 
changed considerably. Ubuntu has switched to 
systemd
 for its 
init
 system, which 
was previously Upstart until a few years ago. Ubuntu 16.04 was the first LTS release 
of Ubuntu with 
systemd
, and this is also the case today in Ubuntu 20.04, since we've 
had two LTS releases since then. Since 
systemd
 has been the standard for quite some 
time now, we'll focus our attention on the commands used with it to manage our 
services. Older 
init
 systems are ageing out.
With 
systemd
, services are known as 
units
, but to all intents and purposes, the terms 
"service," "daemon," and "unit" all essentially mean the same thing. Since I started 
using Linux over 18 years ago, I still refer to 
systemd
 units as services, out of habit. 
To help us manage these "units," 
systemd
 includes the 
systemctl
 command, which 
allows you to start, stop, and view the status of units on our server. To help illustrate 
this, I'll use OpenSSH as an example. 


Controlling and Managing Processes

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   234   235   236   237   238   239   240   241   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish