On Tue, 29 Jul 2025 at 07:27, Craig Small <[email protected]> wrote:

> It might be that systemd thinks it is a single user, they also did
> something in the libsystemd
> library around ssh sessions to fix some tty issues.
>
systemd does think its a single user.
$ loginctl
SESSION  UID USER   SEAT  LEADER CLASS   TTY  IDLE SINCE
     14 1000 csmall -     17723  user    -    no   -
      3 1000 csmall seat0 4591   user    tty2 no   -
      4 1000 csmall -     4614   manager -    no   -

The new -t flag does show them.
$ src/w -tf
 18:40:51 up  1:05,  2 users,  load average: 0.11, 0.18, 0.21
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU  WHAT
[.. snip ..]
csmall   pts/4    127.0.0.1        18:36    2:40   0.01s  0.01s -bash
csmall   pts/5    127.0.0.1        18:36    1:46   0.03s  0.03s -bash

 - Craig

Reply via email to