CentOS 6.9 systemctl 未找到

CentOS 6.9 systemctl 未找到

要列出所有正在运行、已停止或失败的服务,systemctl(即将在 CentOS 7 中变为 systemd)非常有用。我只需输入 systemtcl,后面什么都不输入即可。

service --status-all 提供的信息少得多,但是当找不到 servicectl 时该怎么办(在 PC 上或通过 yum)?

答案1

Systemctl 是在 CentOS 7 中引入的。我在 Google 上搜索了您标题中输入的术语“CentOS 6.9 systemctl not found”,并在 20 秒内找到了信息。

相关内容