Your message dated Fri, 30 May 2025 03:40:53 +0200
with message-id <[email protected]>
and subject line Re: Bug#1088934: w: "idle time" information is incorrect
has caused the Debian Bug report #1088934,
regarding w: "idle time" information is incorrect
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1088934: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088934
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 2:4.0.4-6
Severity: normal
The "idle time" information output by "w" (in the IDLE column) is
incorrect. It is a common, arbitrary value for all entries, which
does not seem to be related to any idle time. It can be something
like "2days" or "7days", and can be reset for an unknown reason.
This can be tested with "ssh localhost" (or a ssh from another
machine), then "w".
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'),
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.7.12-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages procps depends on:
ii init-system-helpers 1.67
ii libc6 2.40-4
ii libncursesw6 6.5-2+b1
ii libproc2-0 2:4.0.4-6
hi libsystemd0 256.7-1
ii libtinfo6 6.5-2+b1
Versions of packages procps recommends:
ii linux-sysctl-defaults 4.10.1
ii psmisc 23.7-1
procps suggests no packages.
-- no debconf information
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
--- End Message ---
--- Begin Message ---
Version: 2:4.0.4-8
On 2024-12-03 11:18:05 +0100, Vincent Lefevre wrote:
> This particular one could be a bug in the kernel. But the access time
> (or modification time) is correct here with /dev/pts/* devices, though
> "w" gives an incorrect idle time. Another issue is that "w" does not
> output TTY information for me (that's bug 1080335).
Both issues were probably related: since w wasn't able to get
the tty name, it wasn't able to get the associated access time.
I can see that both are fixed in 2:4.0.4-8.
For instance, after downgrading to 2:4.0.4-7, I get:
qaa:~> w <3:33:11
03:33:11 up 8 days, 13:48, 3 users, load average: 0.46, 0.46, 0.46
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
vinc17 155.133.131.76 00:47 36:13 0.00s 0.02s sshd-session: v
vinc17 - 21May25 36:13 0.00s 0.01s lightdm --sessi
vinc17 - 21May25 36:13 0.00s 0.29s /usr/lib/system
and after upgrading to 2:4.0.4-8, I get:
qaa:~> w <3:33:31
03:33:31 up 8 days, 13:48, 3 users, load average: 0.55, 0.48, 0.47
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
vinc17 pts/13 155.133.131.76 00:47 7:20 0.16s 0.16s -zsh
vinc17 - 21May25 0.00s 0.01s lightdm --sessi
The idle time for the SSH connection from 155.133.131.76 has changed
from 36:13 (incorrect) to 7:20 (correct).
So I'm closing the bug.
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
--- End Message ---