- 论坛徽章:
- 0
|
本帖最后由 哈蜜瓜 于 2013-06-21 18:38 编辑
回复 5# dn833 - journalctl [OPTIONS...] [MATCHES...]
- Query the journal.
- Flags:
- --since=DATE Start showing entries newer or of the specified date
- --until=DATE Stop showing entries older or of the specified date
- -c --cursor=CURSOR Start showing entries from specified cursor
- -b --this-boot Show data only from current boot
- -u --unit=UNIT Show data only from the specified unit
- --user-unit=UNIT Show data only from the specified user session unit
- -p --priority=RANGE Show only messages within the specified priority range
- -e --pager-end Immediately jump to end of the journal in the pager
- -f --follow Follow 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 first
- -o --output=STRING Change journal output mode (short, short-monotonic,
- verbose, export, json, json-pretty, json-sse, cat)
- -x --catalog Add message explanations where available
- --full Do not ellipsize fields
- -a --all Show all fields, including long and unprintable
- -q --quiet Don't show privilege warning
- --no-pager Do not pipe output into a pager
- -m --merge Show entries from all available journals
- -D --directory=PATH Show journal files from directory
- Commands:
- -h --help Show this help
- --version Show package version
- --new-id128 Generate a new 128 Bit ID
- --header Show journal header information
- --disk-usage Show total disk usage
- -F --field=FIELD List all values a certain field takes
- --list-catalog Show message IDs of all entries in the message catalog
- --dump-catalog Show entries in the message catalog
- --update-catalog Update the message catalog database
复制代码 不是5行,是80行,这个log输出速度很快,80个采样更精确些。 |
|