]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/loginctl.c
loginctl: report tty in session listings 4387/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 Oct 2016 19:13:03 +0000 (15:13 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 Oct 2016 19:59:22 +0000 (15:59 -0400)
commit5611ddebe4dd800410f0c413ee034735e1d9993c
tree1decbc0d7855eda079a47e94f854f0e92a85f6a0
parente8f215d34c3fabb4a9a909491800866d73f5da37
loginctl: report tty in session listings

Without the tty it's really hard to tell which session is which.

New output:
$ ./loginctl
   SESSION        UID USER             SEAT             TTY
        13       1002 zbyszek          seat0            tty3
        c1         42 gdm              seat0            /dev/tty1
        11       1002 zbyszek          seat0            tty4
         3       1002 zbyszek          seat0            /dev/tty2
        17       1002 zbyszek          seat0            tty5
        18       1002 zbyszek          seat0            tty6
6 sessions listed.
src/login/loginctl.c