Ósme_21

 0    21 fiche    michalesq
skriva ut spela Kontrollera dig själv
 
Fråga - Svar -
What manages services in RHEL 7?
börja lära sig
systemd
Can systemd start multiple services in the same time?
börja lära sig
yes
List available targets in the system
börja lära sig
systemctl list-units --type=target
List available unit types
börja lära sig
systemctl -t help
Unique configuration files are located in?
börja lära sig
/etc/systemd/system
Display current target
börja lära sig
systemctl get-default
What are the targets in RHEL?
börja lära sig
multi-user. target, graphical. target, emergency. target, rescue. target
Display dependencies for multi-user. targer
börja lära sig
systemctl list-dependencies multi-user. target
How to change target to different target?
börja lära sig
systemctl isolate multi-user. target
How to set default target?
börja lära sig
systemctl set-default
Where are all unit configuration files?
börja lära sig
/usr/lib/system
Where are all unit configuration files for downloaded and installed programs?
börja lära sig
/etc/systemd/system
How to boot a system into different target?
börja lära sig
Interrupt booting with e, go to linux16, add systemd. unit=emergency. target at the end, ctrl+x
How to list all jobs working in the background?
börja lära sig
root#jobs
How to stop program with id 1
börja lära sig
kill -SIGSTOP %1
How to resume previously stopped program?
börja lära sig
kill -sigcont %1
What is the most prioritized level?
börja lära sig
-20
What is the least priorizted level?
börja lära sig
19
How to create 1G file with dd command?
börja lära sig
dd if=/dev/zero/ of=/root/test. file bs=1M count=1024
How to check runing services and their nice level?
börja lära sig
ps axo pid, comm, nice | grep <nazwa serwisu>
How to start httpd service with priority 0, previously must be stopped
börja lära sig
nice -n 0 httpd

Du måste vara inloggad för att skriva en kommentar.