summaryrefslogtreecommitdiffstats
path: root/man/man5/proc_kmsg.5
diff options
context:
space:
mode:
Diffstat (limited to 'man/man5/proc_kmsg.5')
-rw-r--r--man/man5/proc_kmsg.528
1 files changed, 28 insertions, 0 deletions
diff --git a/man/man5/proc_kmsg.5 b/man/man5/proc_kmsg.5
new file mode 100644
index 000000000..2793907d7
--- /dev/null
+++ b/man/man5/proc_kmsg.5
@@ -0,0 +1,28 @@
+.\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
+.\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
+.\"
+.\" SPDX-License-Identifier: GPL-3.0-or-later
+.\"
+.TH proc_kmsg 5 (date) "Linux man-pages (unreleased)"
+.SH NAME
+/proc/kmsg \- kernel messages
+.SH DESCRIPTION
+.TP
+.I /proc/kmsg
+This file can be used instead of the
+.BR syslog (2)
+system call to read kernel messages.
+A process must have superuser
+privileges to read this file, and only one process should read this
+file.
+This file should not be read if a syslog process is running
+which uses the
+.BR syslog (2)
+system call facility to log kernel messages.
+.IP
+Information in this file is retrieved with the
+.BR dmesg (1)
+program.
+.SH SEE ALSO
+.BR proc (5)