Ósme_21

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

Chcete-li přidat komentář, musíte se přihlásit.