LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

logread

reads the logd ring buffer log on OpenWrt and similar embedded Linux systems

TLDR

Print all log messages
$ logread
copy
Follow log output in real-time
$ logread -f
copy
Print last N messages
$ logread -l [50]
copy
Filter messages by pattern
$ logread -e [pattern]
copy
Filter by syslog priority
$ logread -p [daemon.info]
copy
Print log and follow new messages
$ logread -f -e [error]
copy

SYNOPSIS

logread [options]

DESCRIPTION

logread reads the logd ring buffer log on OpenWrt and similar embedded Linux systems. It provides access to system messages stored in memory rather than on disk.

PARAMETERS

-f

Follow log output in real-time (like tail -f).
-l N
Print only the last N messages.
-e PATTERN
Filter messages matching a keyword or pattern.
-p FACILITY.LEVEL
Filter by syslog facility and priority (e.g., kern.err, daemon.info).
-t
Include a human-readable timestamp with each message.
-h
Display help information.

INSTALL

sudo apk add logbookd
copy

CAVEATS

Specific to OpenWrt and BusyBox-based systems. Ring buffer has limited size; older messages are overwritten.

SEE ALSO

dmesg(1), journalctl(1), logger(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid