“Systemctl”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) (建立内容为“Query or send control commands to the systemd manager. 查询或发送控制命令到系统(后台服务)管理器 Show runtime status of one or more units…”的新页面) |
Jihongchang(讨论 | 贡献) |
||
第2行: | 第2行: | ||
查询或发送控制命令到系统(后台服务)管理器 | 查询或发送控制命令到系统(后台服务)管理器 | ||
+ | |||
Show runtime status of one or more units | Show runtime status of one or more units | ||
− | 显示一个或多个单元的运行状态 | + | 显示一个或多个单元的运行状态<syntaxhighlight lang="shell-session"> |
+ | [root@localhost ~]# systemctl status docker.service | ||
+ | ● docker.service - Docker Application Container Engine | ||
+ | Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) | ||
+ | Active: inactive (dead) | ||
+ | Docs: https://docs.docker.com | ||
+ | [root@localhost ~]# | ||
+ | </syntaxhighlight> |
2022年8月16日 (二) 21:02的版本
Query or send control commands to the systemd manager.
查询或发送控制命令到系统(后台服务)管理器
Show runtime status of one or more units
显示一个或多个单元的运行状态
[root@localhost ~]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: https://docs.docker.com
[root@localhost ~]#