systemd

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
systemd [2017/10/27 22:38] jzsystemd [2017/12/03 18:08] (目前版本) jz
行 1: 行 1:
 ====== Systemd ====== ====== Systemd ======
  
-===== boot time analyze =====+===== Suspenad and hibernate ===== 
 +<code bash> 
 +systemctl suspend 
 +systemctl hibernate
  
-==== systemd-analyze ====+pmi action suspend 
 +pmi action hibernate 
 +</code>
  
-<code>+===== Boot time analyze ===== 
 + 
 +==== systemd-analyze ==== 
 +<code bash>
 systemd-analyze systemd-analyze
 systemd-analyze blame systemd-analyze blame
行 12: 行 20:
  
 ==== systemd-bootchart ==== ==== systemd-bootchart ====
- +<code bash>
-<code>+
 systemd-bootchart systemd-bootchart
 </code> </code>
行 20: 行 27:
  
 [[https://wiki.archlinux.org/index.php/Improving_performance/Boot_process#Analyzing_the_boot_process]] [[https://wiki.archlinux.org/index.php/Improving_performance/Boot_process#Analyzing_the_boot_process]]
 +
 +===== Process =====
 +
 +==== Process info ====
 +<code bash>
 +systemd-cgls
 +pstree
 +</code>
 +
 +==== Kill process ====
 +<code bash>
 +# SIGTERM
 +systemctl kill service-name.service
 +
 +# SIGKILL
 +systemctl kill -s SIGKILL service-name.service
 +
 +# HUP
 +systemctl kill -s HUP --kill-who=main service-name.service
 +</code>
  • systemd.1509115134.txt.gz
  • 上一次變更: 2017/10/27 22:38
  • jz