Checking Boot Messages with dmesg

Sometimes you might need extra information, beyond what is available on the running system, about the configuration or the hardware. The system automatically probes the hardware and generates all kinds of potentially useful information at that time but keeps it socked away in the bowels of the system. Use dmesg to get at what you need...in appalling detail.

To Check Status with dmesg:

  • dmesg | more

    Use dmesg (with the help of sudo and more) to gain some insight into the system (Code Listing 16.6).

    Or

  • dmesg | mail goodfriend@example.com → -s "Help me understand"

    Send the output of dmesg to a friend for advice, if you’re really stuck.

✓ Tip

  • See Chapter 11 for more information about mailing files and data from the ...

Get Unix Third Edition: Visual Quickstart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.