a) what:
osiris:~> w
9:36pm up 4 days, 8:48, 7 users, load average: 0.68, 0.70, 0.81
User tty from login@ idle JCPU PCPU what
herp ttyp4 gortaur.idv-edu. 9:24pm 4 w
ralph ttyp9 gator.oeh.uni-li 5:04pm 51 -
ralph ttypa gator.oeh.uni-li 5:05pm 3:40 -
osiris:~> ps -axu | grep ralph|grep -v grep
osiris:~>
no ralph process there. is this a leftover from an abruptly terminated
session ?
b) ps:
osiris:~> ps ax
PID TTY STAT TIME COMMAND
1 ? S 6:20 init auto
...
14163 1 S 0:00 -bash
21344 1 S 0:00 sh /usr/X11/bin/startx
^^
this is tty1. the previous version printed:
4946 v02 S 0:00 /sbin/agetty 38400 tty2
4947 v01 S 0:00 /sbin/agetty 38400 tty1
v01, v02 for virtual console. *shrug* just a matter of taste.
regards, herp