]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
proc.5, proc_uptime.5: Split /proc/uptime from proc(5)
authorAlejandro Colomar <alx@kernel.org>
Tue, 15 Aug 2023 20:51:14 +0000 (22:51 +0200)
committerAlejandro Colomar <alx@kernel.org>
Tue, 15 Aug 2023 21:19:19 +0000 (23:19 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man5/proc.5
man5/proc_uptime.5 [new file with mode: 0644]

index 56a19d3a6502dfe79f21ac5c4b27ea6684667da0..cf9b3981ec2863bd675971a147db5cdaa3d77952 100644 (file)
@@ -225,11 +225,6 @@ hierarchy.
 .\" FIXME Document /proc/sched_debug (since Linux 2.6.23)
 .\" See also /proc/[pid]/sched
 .TP
-.I /proc/uptime
-This file contains two numbers (values in seconds): the uptime of the
-system (including time spent in suspend) and the amount of time spent
-in the idle process.
-.TP
 .I /proc/version
 This string identifies the kernel version that is currently running.
 It includes the contents of
diff --git a/man5/proc_uptime.5 b/man5/proc_uptime.5
new file mode 100644 (file)
index 0000000..aa08d08
--- /dev/null
@@ -0,0 +1,17 @@
+.\" 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_uptime 5 (date) "Linux man-pages (unreleased)"
+.SH NAME
+/proc/uptime \- system uptime
+.SH DESCRIPTION
+.TP
+.I /proc/uptime
+This file contains two numbers (values in seconds): the uptime of the
+system (including time spent in suspend) and the amount of time spent
+in the idle process.
+.SH SEE ALSO
+.BR proc (5)