| 1 |
.\" Copyright 1994-1995, Daniel Quinlan <[email protected]> |
| 2 |
.\" Copyright 2002-2017, Michael Kerrisk <[email protected]> |
| 3 |
.\" Copyright, the authors of the Linux man-pages project |
| 4 |
.\" |
| 5 |
.\" SPDX-License-Identifier: GPL-3.0-or-later |
| 6 |
.\" |
| 7 |
.TH proc_kmsg 5 2026-02-08 "Linux man-pages 6.18" |
| 8 |
.SH NAME |
| 9 |
/proc/kmsg \- kernel messages |
| 10 |
.SH DESCRIPTION |
| 11 |
.TP |
| 12 |
.I /proc/kmsg |
| 13 |
This file can be used instead of the |
| 14 |
.BR syslog (2) |
| 15 |
system call to read kernel messages. |
| 16 |
A process must have superuser |
| 17 |
privileges to read this file, and only one process should read this |
| 18 |
file. |
| 19 |
This file should not be read if a syslog process is running |
| 20 |
which uses the |
| 21 |
.BR syslog (2) |
| 22 |
system call facility to log kernel messages. |
| 23 |
.IP |
| 24 |
Information in this file is retrieved with the |
| 25 |
.BR dmesg (1) |
| 26 |
program. |
| 27 |
.SH SEE ALSO |
| 28 |
.BR proc (5) |