ps aux | grep tty
arrange@lean:~ $ ps aux | grep ttyroot 915 2.6 3.4 54832 35272 tty7 Ss+ 11:46 0:36 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-yj1DAh/database -nolisten tcp vt7root 1062 0.0 0.0 1700 544 tty4 Ss+ 11:46 0:00 /sbin/getty -8 38400 tty4root 1071 0.0 0.0 1700 544 tty5 Ss+ 11:46 0:00 /sbin/getty -8 38400 tty5root 1082 0.0 0.0 1700 544 tty2 Ss+ 11:46 0:00 /sbin/getty -8 38400 tty2root 1083 0.0 0.0 1700 548 tty3 Ss+ 11:46 0:00 /sbin/getty -8 38400 tty3root 1085 0.0 0.0 1700 544 tty6 Ss+ 11:46 0:00 /sbin/getty -8 38400 tty6root 1321 0.0 0.0 1700 544 tty1 Ss+ 11:46 0:00 /sbin/getty -8 38400 tty1arrange 5853 0.0 0.0 3036 796 pts/0 R+ 12:10 0:00 grep --color=auto tty
root 1166 11.9 6.8 104512 70240 tty7 Ss+ 08:24 31:01 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-zGKXAZ/database -nolisten tcp vt7root 1189 0.0 0.0 1700 448 tty4 Ss+ 08:24 0:00 /sbin/getty -8 38400 tty4root 1194 0.0 0.0 1700 448 tty5 Ss+ 08:24 0:00 /sbin/getty -8 38400 tty5root 1200 0.0 0.0 1700 448 tty2 Ss+ 08:24 0:00 /sbin/getty -8 38400 tty2root 1201 0.0 0.0 1700 448 tty3 Ss+ 08:24 0:00 /sbin/getty -8 38400 tty3root 1203 0.0 0.0 1700 448 tty6 Ss+ 08:24 0:00 /sbin/getty -8 38400 tty6root 2411 0.0 0.0 1700 448 tty1 Ss+ 08:24 0:00 /sbin/getty -8 38400 tty1tomas 6153 0.0 0.0 2224 808 pts/0 R+ 12:44 0:00 grep tty