]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: add --follow-new
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Sat, 30 May 2020 14:07:53 +0000 (17:07 +0300)
committerKarel Zak <kzak@redhat.com>
Mon, 1 Jun 2020 07:55:49 +0000 (09:55 +0200)
commitd7881b0ed5ed3fc31fac1545413bca441ac239f6
tree189254b6606aa5d5e0ffb7389a90160b1429248b
parentf0833edc1204bd039d364710bb7700a747270330
dmesg: add --follow-new

Option --follow-new (-W) works the same as --follow (-w) but initially
seeks to the end of kernel ring buffer, so it prints only new messages.
Useful for capturing kernel messages during actions without past log.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
bash-completion/dmesg
sys-utils/dmesg.1
sys-utils/dmesg.c