[mosh-users] mosh-server processes sticking around?

Dan Mahoney, System Admin danm at prime.gushi.org
Fri Jan 31 15:43:22 EST 2014


Hey all,

I run mosh and screen under FreeBSD 8.3.  When I do a screen -D -R (which 
should power-detach (and log out) the other sessions, the mosh-server 
process sticks around.

I don't see a good way to log them out.

Also, as the transition to utmpx hasn't happened in this version of the 
OS, "who" is less than helpful:

danm             pts/0    Jan 30 21:19 (149.20.50.7 via )
danm             pts/2    Jan 31 11:18 (mosh [11777])
danm             pts/3    Jan 31 12:35 (mosh [8546])
danm             pts/4    Jan 31 12:35 (149.20.50.7 via )
danm             pts/6    Jan 31 12:35 (149.20.50.7 via )

%ps auxww|grep mosh
danm         47445  2.0  0.2 26120  7156  ??  Rs   12:35PM   0:14.19 
mosh-server new -s -c 8 -l LANG=en_US.UTF-8
danm          8546  0.0  0.9 54792 36928  ??  Ss    9:27AM   1:00.85 
mosh-server new -s -c 8 -l LANG=en_US.UTF-8
danm         11777  0.0  0.4 36360 18300  ??  Ss   10:05PM   1:16.42 
mosh-server new -s -c 8 -l LANG=en_US.UTF-8
danm         49074  0.0  0.0  6144  1080   4  R+   12:42PM   0:00.00 grep 
mosh
danm         47633  0.0  0.1 20760  5712   6  S+   12:35PM   0:00.09 pine 
mosh-users at mit.edu (alpine)

How can I easily tell which of those mosh processes is the "current" one?

-Dan

-- 

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------



More information about the mosh-users mailing list