chiark / gitweb /
loginctl: report tty in session listings
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 Oct 2016 19:13:03 +0000 (15:13 -0400)
committerSven Eden <yamakuzure@gmx.net>
Wed, 5 Jul 2017 06:50:55 +0000 (08:50 +0200)
commit9f751b60fbe45dfc9fb17c5ec6452b68e9e0a89a
tree8f11ead1d3633e2651b3e72bf7bb7b2ef39ec54a
parent5b3b719a316f65011a36ee1dcfdbf50fe83a5698
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