---
name: "dmesg"
section: "8"
platform: "macos"
package: "system_cmds"
version: "1042.120.1"
release: "macOS 26.5"
platforms: ["linux", "freebsd", "openbsd", "macos"]
url: "https://new.carta.tech/dmesg/8"
---

# dmesg(8)

display the system message buffer

## NAME

**dmesg** – display the system message buffer

## SYNOPSIS

**dmesg** \[**-M** *core*\] \[**-N** *system*\]

## DESCRIPTION

**Dmesg** displays the contents of the system message buffer. This command needs to be run as root.

## SEE ALSO

[syslogd(8)](/syslogd/8.md)

## HISTORY

The **dmesg** command appeared in 4.0BSD.
