snippetbashTip
logread — Read the `logd` ring buffer log. More information: <https://openwrt.org/docs/guide-user/base-system/
Viewed 0 times
thecommandreadringclilogdlogreadbuffer
linux
Problem
How to use the
logread command: Read the logd ring buffer log. More information: <https://openwrt.org/docs/guide-user/base-system/log.essentials>.Solution
logread — Read the logd ring buffer log. More information: <https://openwrt.org/docs/guide-user/base-system/log.essentials>.Print the log:
logreadn messages:logread -l {{n}}Filter messages by (Keyword/
regex):logread -e {{pattern}}Print log messages as they happen:
logread -fDisplay help:
logread -hCode Snippets
Print the log
logreadPrint `n` messages
logread -l {{n}}Filter messages by (Keyword/`regex`)
logread -e {{pattern}}Print log messages as they happen
logread -fDisplay help
logread -hContext
tldr-pages: linux/logread
Revisions (0)
No revisions yet.