CONTRIBUTING.d/patches: Please provide a git-range-diff(1)
[man-pages.git] / man5 / proc_kmsg.5
blob2793907d7ea33b68ad636794c9e29d2727b89b4c
1 .\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
2 .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
4 .\"
5 .\" SPDX-License-Identifier: GPL-3.0-or-later
6 .\"
7 .TH proc_kmsg 5 (date) "Linux man-pages (unreleased)"
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)