Ósme_21

 0    21 フィッシュ    michalesq
印刷 遊びます 自分をチェック
 
質問 - 答え -
What manages services in RHEL 7?
学び始める
systemd
Can systemd start multiple services in the same time?
学び始める
yes
List available targets in the system
学び始める
systemctl list-units --type=target
List available unit types
学び始める
systemctl -t help
Unique configuration files are located in?
学び始める
/etc/systemd/system
Display current target
学び始める
systemctl get-default
What are the targets in RHEL?
学び始める
multi-user. target, graphical. target, emergency. target, rescue. target
Display dependencies for multi-user. targer
学び始める
systemctl list-dependencies multi-user. target
How to change target to different target?
学び始める
systemctl isolate multi-user. target
How to set default target?
学び始める
systemctl set-default
Where are all unit configuration files?
学び始める
/usr/lib/system
Where are all unit configuration files for downloaded and installed programs?
学び始める
/etc/systemd/system
How to boot a system into different target?
学び始める
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?
学び始める
root#jobs
How to stop program with id 1
学び始める
kill -SIGSTOP %1
How to resume previously stopped program?
学び始める
kill -sigcont %1
What is the most prioritized level?
学び始める
-20
What is the least priorizted level?
学び始める
19
How to create 1G file with dd command?
学び始める
dd if=/dev/zero/ of=/root/test. file bs=1M count=1024
How to check runing services and their nice level?
学び始める
ps axo pid, comm, nice | grep <nazwa serwisu>
How to start httpd service with priority 0, previously must be stopped
学び始める
nice -n 0 httpd

コメントを投稿するにはログインする必要があります。