[Bug 3909] As of 10.0, the utmpx file list the daemon pid and not the shell pid
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Jan 14 01:54:36 AEDT 2026
https://bugzilla.mindrot.org/show_bug.cgi?id=3909
--- Comment #1 from Casper Dik <chsdik at gmail.com> ---
The typical output is by Solaris w(1):
$ w
3:48pm up 8 day(s), 7:18, 4 users, load average: 0.04, 0.01, 0.04
User tty login@ idle JCPU PCPU what
...
casper pts/19 3:48pm 6 w
casper pts/20 3:48pm w
(there is only one w process); similar with whodo(1):
pts/12 casper 9:41
? 12302 0:00 sshd-session
pts/15 12343 0:00 tcsh
pts/15 casper 9:41
pts/19 casper 15:48
? 13592 0:00 sshd-session
pts/20 17801 0:00 tcsh
pts/20 17838 0:00 whodo
pts/20 casper 15:48
See that processes belonging on pts/20 are seen on pts/19
The proper output (fixed w/whodo or sshd setting the proper pid
in utmpx):
3:53pm up 8 day(s), 7:23, 4 users, load average: 0.00, 0.00, 0.03
User tty login@ idle JCPU PCPU what
...
casper pts/19 3:48pm 5 -tcsh
casper pts/20 3:48pm w
# whodo
pts/19 casper 15:48
pts/19 17766 0:00 tcsh
pts/20 casper 15:48
pts/20 17801 0:00 tcsh
pts/20 17890 0:00 whodo
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list