next up previous contents
Next: Chronyd vs. ntpd 校時 Up: systemctl 系統服務控制 Previous: 永久關閉服務   Contents

失效的服務

  1. 查看失效的服務。
    [root@kvm7 ~]# systemctl --failed --type=service
    UNIT          LOAD   ACTIVE SUB    DESCRIPTION
    kdump.service loaded failed failed Crash recovery kernel arming
    rhnsd.service loaded failed failed LSB: Starts the Spacewalk Daemon
    
    LOAD   = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB    = The low-level unit activation state, values depend on unit type.
    
    2 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    


De-Yu Wang 2018-10-11