Ósme_21

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

Sie müssen eingeloggt sein, um einen Kommentar zu schreiben.