encyclopegia.org

Dmesg

dmesg (diagnostic messages ) is a command on most Unix-like operating systems that prints the message buffer of the kernel.[src] The output includes messages produced by the device drivers.[src]

dmesg (diagnostic messages ) is a command on most Unix-like operating systems that prints the message buffer of the kernel.[src] The output includes messages produced by the device drivers.[src] ==Booting== When initially booted, a computer system loads its kernel into memory.[src] At this stage device drivers present in the kernel are set up to drive relevant hardware.[src] Such drivers, as well as other elements within the kernel, may produce output ("messages") reporting both the presence of modules and the values of any parameters adopted.[src] (It may be possible to specify boot parameters which control the level of detail in the messages.) The booting process typically happens at a speed where individual messages scroll off the top of the screen before an operator can read/digest them.[src] The command allows the review of such messages in a controlled manner after the system has started.[src] ==After booting== Even after the system has fully booted, the kernel may occasionally produce further diagnostic messages.[src] Common examples of when this might happen are when I/O devices encounter errors, or USB devices are hot-plugged.[src] dmesg provides a mechanism to review these messages at a later time.[src] When first produced, they will be directed to the system console.[src] If the console is in use, these messages may be confused with or quickly overwritten by the output of user programs.[src] ==Output== ]] The output of dmesg can amount to many complete screens.[src] For this reason, this output is normally reviewed using standard text-manipulation tools such as more, tail, less or grep.[src] Size of the dmesg buffer is limited and the output is often captured in a permanent system logfile via a logging daemon, such as syslog.[src] ==Format== Traditionally, dmesg lines begin with a device name followed by a colon, followed with detailed text.[src] Often these come in clusters, with the same device showing up on multiple lines in succession.[src] Each cluster is usually associated with a single device enumeration, by one particular device driver (or device facility) associated with the device name.[src] Each driver or facility emits diagnostic information in its own chosen format.[src] Device drivers may specify the format in the manual page by convention called identically to the device file name without the trailing number.[src] ==References==[src]

23 sentences · 23 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Dmesg." encyclopegia.org, 2026, https://encyclopegia.org/wiki/dmesg. Accessed 26 November 2026.

Chicago

"Dmesg." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/dmesg.

APA

encyclopegia.org. (2026). Dmesg. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/dmesg

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1359646539 · 0.5 · snapshot enwiki-001359646539

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.