失效的服務

  1. 查看失效的服務。
    [root@kvm4 ~]# systemctl --failed --type service
      UNIT          LOAD   ACTIVE SUB    DESCRIPTION
    ● httpd.service loaded failed failed The Apache HTTP Server
    
    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.
    1 loaded units listed.