debian systemctl怎样查看全部服务

在Debian系统中,你可以使用以下命令来查看全部服务:

systemctl list-units --type=service --all

这个命令会列出所有的服务,包括已启动、已停止和正在运行的服务。--type=service参数表示只显示服务类型的单元,--all参数表示显示所有类型的单元,包括系统单元、服务单元和临时单元。

Both comments and pings are currently closed.

Comments are closed.

Powered by KingAbc | 粤ICP备16106647号-2 | Loading Time‌ 0.873