linux里面journalctl命令作用是什么?
生活随笔
收集整理的這篇文章主要介紹了
linux里面journalctl命令作用是什么?
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
journalctl 是 centos7 上專有的日志管理工具2. journalctl 的配置文件 《Linux就該這么學》日志的配置文件 /etc/systemd/journald.conf3. journalctl 用法查看所有日志(默認情況下 ,只保存本次啟動的日志)journalctl查看內(nèi)核日志(不顯示應用日志)journalctl -k查看系統(tǒng)本次啟動的日志journalctl -b查看信息并有幫助信息journalctl -xe3. journalctl -xe 常用參數(shù)-e, --pager-endImmediately jump to the end of the journal inside the implied pager tool.跳轉(zhuǎn)到末尾。-x, --catalogAugment log lines with explanation texts from the message catalog. This will add explanatory help texts to log messages in the output where this is available.添加解釋性幫助文本。
總結
以上是生活随笔為你收集整理的linux里面journalctl命令作用是什么?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 光遇渠道服怎么改密码?
- 下一篇: 一杯敬远方一杯敬故乡是什么歌啊