1 Commits

Author SHA1 Message Date
Andreas c9c8714651 Add w(1) replacement for procps-ng 4.x
procps-ng 4.0 rewrote w to skip utmp entirely, leaving TTY blank,
IDLE identical for all users, and WHAT pointing at the sshd parent
process instead of the user's shell.

Reads utmp via who(1), idle via tty atime, and foreground process
group via the tpgid field in /proc/pid/stat.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 13:23:27 -04:00