.\" Copyright (C) 1994, 1995, Daniel Quinlan .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk .\" Copyright (C) 2023, Alejandro Colomar .\" .\" SPDX-License-Identifier: GPL-3.0-or-later .\" .TH proc_kmsg 5 2023-08-15 "Linux man-pages 6.7" .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)