Dmesg

From Helpful
Revision as of 23:00, 9 January 2024 by Helpful (talk | contribs) (Created page with "<!-- dmesg is a fixed-size ringbuffer in linux kernel memory. printk() writes to dmesg Boot code writes a bunch to it. Later writes come from things like segfaults, oom-killer, device changes, Ringbuffer means that once full, it rewrites old lines. That fixed '''size''' is usually on the order of dozens to hundreds of kilobytes. If grep CONFIG_LOG_BUF_SHIFT /boot/config-`uname -r` says something like CONFIG_LOG_BUF_SHIFT=18 that means 256KiB (1<<18)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search