2.定位到日志末尾行(-e, –pager-end) 这个选项在查看最新的日志内容时特别有用,这样可以不用手动滚动到日志末尾。 定位sshd服务末尾行日志: 复制复制复制复制复制复制复制复制复制复制复制复制复制复制 复制 journalctl -u sshd -e 不加此参数的效果,从...
is specified, all messages with this log level or a lower (hence more important) log level are shown. If a range is specified, all messages within the range are shown, including both the start and the end value of the range. This will add "PRIORITY=" matches for the specified priorities...
AI代码解释 [root@centos7~]# journalctl-u httpd.service--Logs begin at Thu2018-02-2217:01:47CST,end at Thu2018-02-2217:30:01CST.--Feb2217:29:27centos7.localdomain systemd[1]:Starting The ApacheHTTPServer...Feb2217:29:27centos7.localdomain httpd[1610]:AH00558:httpd:Could not reliably de...
-- Logs begin at Thu 2021-02-18 10:37:48 CST, end at Mon 2021-03-01 12:46:08 CST. -- Mar 01 11:00:13 vrgv systemd[1]: Starting Cleanup of Temporary Directories... Mar 01 11:00:13 vrgv systemd[1]: Started Cleanup of Temporary Directories. Mar 01 11:01:01 vrgv systemd[1...
[=BOOL] Force case sensitive or insenstive matching -e --pager-end Immediately jump to the end in the pager -f --follow Follow the journal -n --lines[=INTEGER] Number of journal entries to show --no-tail Show all lines, even in follow mode -r --reverse Show the newest entries ...
Immediately jump to the end of the journal inside the implied pager tool. This implies -n1000 to guarantee that the pager will not buffer logs of unbounded size. This may be overridden with an explicit -n with some other numeric value while -nall will disable ...
-- Logs begin at Sat 2017-05-13 23:26:32 HKT, end at Thu 2018-08-09 18:46:13 HKT. --8月 09 14:36:32 T520 systemd-journald[225]: Journal started8月 09 14:36:32 T520 systemd-journald[225]: Runtime journal (/run/log/journal/c291481e2d9b4024b6315308254f29df) is 8.0M, ...
显示具有指定设施的条目-g--grep=PATTERN 显示与PATTERN匹配的MESSAGE的条目--case-sensitive[=BOOL]强制进行大小写敏感或不敏感的匹配-e--pager-end 在分页器中立即跳到末尾-f--follow 跟踪日志-n--lines[=INTEGER]要显示的日志条目数量--no-tail 即使在跟踪模式下也显示所有行-r--reverse 先显示最新的条目-...
Immediately jump to the end of the journal inside the implied pager tool.跳转到末尾。-x, --catalog Augment 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.添加解释性帮助文本。
-e--pager-endImmediately jump to the endinthe pager -f--followFollow the journal -n--lines[=INTEGER] Number of journal entries to show --no-tailShow all lines, eveninfollow mode -r--reverseShow the newest entries first -o--output=STRING Change journal output mode (short, short-precise...