Ósme_21

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

Musisz się zalogować, by móc napisać komentarz.