Ósme_21

 0    21 fiche    michalesq
Imprimer jouer consultez
 
question - réponse -
What manages services in RHEL 7?
commencer à apprendre
systemd
Can systemd start multiple services in the same time?
commencer à apprendre
yes
List available targets in the system
commencer à apprendre
systemctl list-units --type=target
List available unit types
commencer à apprendre
systemctl -t help
Unique configuration files are located in?
commencer à apprendre
/etc/systemd/system
Display current target
commencer à apprendre
systemctl get-default
What are the targets in RHEL?
commencer à apprendre
multi-user. target, graphical. target, emergency. target, rescue. target
Display dependencies for multi-user. targer
commencer à apprendre
systemctl list-dependencies multi-user. target
How to change target to different target?
commencer à apprendre
systemctl isolate multi-user. target
How to set default target?
commencer à apprendre
systemctl set-default
Where are all unit configuration files?
commencer à apprendre
/usr/lib/system
Where are all unit configuration files for downloaded and installed programs?
commencer à apprendre
/etc/systemd/system
How to boot a system into different target?
commencer à apprendre
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?
commencer à apprendre
root#jobs
How to stop program with id 1
commencer à apprendre
kill -SIGSTOP %1
How to resume previously stopped program?
commencer à apprendre
kill -sigcont %1
What is the most prioritized level?
commencer à apprendre
-20
What is the least priorizted level?
commencer à apprendre
19
How to create 1G file with dd command?
commencer à apprendre
dd if=/dev/zero/ of=/root/test. file bs=1M count=1024
How to check runing services and their nice level?
commencer à apprendre
ps axo pid, comm, nice | grep <nazwa serwisu>
How to start httpd service with priority 0, previously must be stopped
commencer à apprendre
nice -n 0 httpd

Vous devez vous connecter pour poster un commentaire.