On Wed, 2002-02-27 at 00:28, Jo wrote:
> One more question...
> 
> What happens on the server if one just turns off the terminal? Does the 
> session get cleaned up immediately or after a while. Or does it keep existing 
> and hogging resources?
> 

I find that in time the server gradually fills up with orphan processes,
especially from netscape, opera, etc ... on my RH 7.1 system I created a
/etc/cron.daily/killusers

#!/bin/bash
for u in user1 user2 user3 ... usern
do
  echo "User: " $u
  for x in `ps -ho pid --user $u`
  do
    echo "Killing: " $x
    kill -9 "$x"
  done
done

and then edit /etc/crontab to make sure this runs when everyone is
supposed to be in bed ...

John





_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to