dmesg

Diagnose hardware and system errors from the kernel ring buffer.

6|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill dmesg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dmesg
Source: https://github.com/L3DigitalNet/Claude-Code-Plugins/tree/main/plugins/linux-sysadmin/skills/dmesg
Command: npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill dmesg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you quickly diagnose kernel-level errors, hardware malfunctions, and system stability issues by providing easy access to and filtering of the kernel ring buffer.

Core Features & Use Cases

  • Real-time Monitoring: Follow kernel messages as they happen.
  • Error Filtering: Isolate critical errors, warnings, and specific hardware events (like disk or USB issues).
  • OOM Killer Analysis: Identify processes terminated due to out-of-memory conditions.
  • Use Case: When your system becomes unstable or a device stops working, use this Skill to check for recent kernel messages related to hardware errors or driver failures.

Quick Start

Use the dmesg skill to show all kernel error and warning messages with human-readable timestamps.

Frequently Asked Questions about dmesg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check kernel ring buffer messages for hardware errors?

To check kernel ring buffer messages for hardware errors, access the buffer to review boot messages and driver failures. You can filter by severity and facility to isolate critical system errors and specific hardware events.

How do I monitor kernel messages in real time as they happen?

You can monitor kernel messages in real time by using follow mode on the kernel ring buffer. This displays hardware and system errors continuously as they occur, requiring the util-linux package for full functionality.

How do I find out which process was killed by the OOM killer?

To find processes terminated by the OOM killer, analyze the kernel ring buffer. Filtering the buffer messages allows you to identify out-of-memory conditions and the specific processes that were killed.

Can I filter kernel logs to show only warnings and critical errors?

Yes, you can filter kernel logs to show only warnings and critical errors. The ring buffer access supports filtering by severity and facility, allowing you to isolate specific hardware events like disk or USB issues.

Do I need util-linux to read kernel boot messages with human-readable timestamps?

Yes, you need the util-linux package to read kernel boot messages with human-readable timestamps. It is required for full functionality, including follow modes and proper timestamp formatting during system troubleshooting.

Why would I use the kernel ring buffer instead of standard system logs?

You would use the kernel ring buffer instead of standard logs to diagnose kernel-level errors and hardware malfunctions directly. It captures early boot messages and low-level driver failures before standard logging services initialize.