QuestionQ31Verified/Essential System ServicesCopy linkReport a problemAsk AstroTutorSave questionUnder which circumstances is the kernel ring buffer's content reset?Choose twoAWhen the ring buffer is explicitly reset using the command dmesg --clearBWhen the ring buffer is read using dmesg without any additional parametersCWhen a configurable amount of time, 15 minutes by default, has passedDWhen the kernel loads a previously unloaded kernel moduleEWhen the system is shut down or rebootedShow AnswerAnswerExplanationThe dmesg --clear option clears the kernel ring buffer. The buffer is maintained by the running kernel in memory, so shutting down or rebooting ends that kernel instance and its in-memory log buffer; a new buffer is created during the next boot. A normal dmesg read is nondestructive.Learn moredmesg(1) — Linux manual pageMessage logging with printk — Linux Kernel documentationShow comments2Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion