Ósme_21

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

Devi essere accedere per pubblicare un commento.