怎样查看journald服务的状态?
美国、香港服务器
怎样查看journald服务的状态?
11-10 来源:
### 查看 journald 状态(Ubuntu/CentOS 通用)
# 查看运行状态
systemctl status systemd-journald
#### 常用配套命令
# 开机自启状态
systemctl is-enabled systemd-journald
# 启动
systemctl start systemd-journald
# 重启(改完journald.conf后执行)
systemctl restart systemd-journald
# 停止
systemctl stop systemd-journald
#### 查看 journald 自身日志
journalctl -u systemd-journald
输出里重点看:`active (running)` 代表正常运行;如果是 `failed` 就是异常。
三二互联专业提供香港VPS,美国VPS主机,香港云服务器租用等业务香港美国到大陆CN2 GIA速度最快