Ósme_21

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

Ak chcete pridať komentár, musíte byť prihlásený.