Ósme_21

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

Você deve entrar para postar um comentário.