Re: [PATCH] proc.5: Mention /proc/uptime includes time spent in suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Stephan,

On 1/23/19 4:24 AM, Stephan Knauss wrote:

fs/proc/uptime.c:uptime_proc_show() fetches time using
ktime_get_boottime which includes the time spent in suspend.

Thanks. Patch applied.

Cheers,

Michael

Signed-off-by: Stephan Knauss <linux@xxxxxxxxxxxxxxxxxx>
---
  man5/proc.5 | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man5/proc.5 b/man5/proc.5
index 631db472f..6bb82a69b 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -5915,8 +5915,9 @@ Subdirectory containing the pseudo-files and subdirectories for
  tty drivers and line disciplines.
  .TP
  .I /proc/uptime
-This file contains two numbers: the uptime of the system (seconds),
-and the amount of time spent in idle process (seconds).
+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.
--
2.17.1



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux