On Thu, 2009-09-10 at 15:39 +0300, Petri Latvala wrote:
> Package: linux-image-2.6.30-1-amd64
> Version: 2.6.30-5
> Severity: normal
>
> Since 2.6.30, the information in /proc/uptime has changed. It used to
> contain the system uptime and the system idle time, in seconds. Now it
> contains the system uptime and something else.
>
> $ cat /proc/uptime
> 1626.63 4.51
>
> *wait for a few moments, the machine does nothing except edit this bug
> report*
>
> $ cat /proc/uptime
> 1795.10 4.56
Confirmed. This is fixed in 2.6.31 by:
commit 27bf8712477db47c891e6198000c985631cd18de
Author: Michael Abbott <michael.abbott@diamond.ac.uk>
Date: Mon Jun 22 12:19:25 2009 +0200
[PATCH] Fix idle time field in /proc/uptime
Git commit 79741dd changes idle cputime accounting, but unfortunately
the /proc/uptime file hasn't caught up. Here the idle time calculation
from /proc/stat is copied over.
Signed-off-by: Michael Abbott <michael.abbott@diamond.ac.uk>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
We probably will not update 2.6.30 to fix this.
Ben.
--
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.
Attachment:
signature.asc
Description: This is a digitally signed message part