coreutils
[Top][All Lists]
Advanced

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

Re: Which uptime implementation for the future?


From: Bernhard Voelker
Subject: Re: Which uptime implementation for the future?
Date: Fri, 4 Oct 2024 18:49:25 +0200
User-agent: Mozilla Thunderbird

[adding coreutils ML]

On 10/4/24 3:11 PM, Thorsten Kukuk via openSUSE Factory wrote:
1. coreutils
The GNUlib developers are of the opinion, that /proc/uptime is not
correct, as the kernel does not count the time as uptime, in which a
VM is stopped. I have no idea if the time where a VM is stopped should
be really counted as uptime, I would say no.
The problem with their implementation is, that we have several bug
reports, that the uptime is wrong. Reason is, that they try to
determine the boot time via timestamps from files, and if the machine
has no RTC this time is most likely wrong. In other cases, the time
does not get updated or the tools counts soft-reboots as real reboots.
Feedback from last weeks All Systems Go! conference is, that they see
the coreutils uptime behavior as bug.

When was this last discussed on GNU mailing lists?
{bug-gnulib,bug-coreutils,coreutils}@gnu.org
Last activities I see there are from 2023 only.

If there's a bug, I'm sure we'll be able to fix it.

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]