查看系统日志

journalctl -xe

journalctl -u [unit]

 

systemctl status [unit]  查看系统服务的状态

systemctl stop [unit]  停止系统服务

systemctl start [unit]   开启系统服务

posted @ 2018-01-13 16:09  魔沫  阅读(470)  评论(0编辑  收藏  举报