What is dmesg

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the logging category.

Last Updated: 2024-06-15

Use cases

  1. Check after plugging in a USB device to determine if it was recognized
  2. Check if a particular device had its bus enumerated during boot and/or check what parameters they were set up with

Relationship to syslog? Only the fact that it may sent its messages to syslog for centralization.