systemd 是否应该作为其自身的子进程运行?

systemd 是否应该作为其自身的子进程运行?

我刚刚在系统监视器中注意到 systemd 正在作为 pid 1 运行,并且在该进程内,它被列为其自身的依赖进程,再次在进程 1 下作为 pid 933 运行,并且另一组各种进程作为 933 的依赖项运行。这是正常现象还是表示存在问题?

[email protected] - User Manager for UID 1000
     Loaded: loaded (/lib/systemd/system/[email protected]; static)
    Drop-In: /usr/lib/systemd/system/[email protected]
             └─10-oomd-user-service-defaults.conf, timeout.conf
     Active: active (running) since Sat 2022-12-17 09:29:17 CST; 1h 48min ago
       Docs: man:[email protected](5)
   Main PID: 933 (systemd)
     Status: "Startup finished in 2.088s."
      Tasks: 643
     Memory: 10.8G
        CPU: 1h 28min 25.187s

相关内容