script for cleaning up zombie user processes at the end of the day?

Nicolas Pettiaux nicolas.pettiaux at ael.be
Thu Jan 18 23:41:47 GMT 2007


>
>  Funny, I just ran into the same kind of problem myself not so long ago.  Talked to they guys on IRC and was given the following:
>
>  for user in $(getent passwd | awk -F: '$3 > 999 {print $1}'); do echo $user; pgrep -u ${user} gnome-panel || pkill -u ${user} bonobo; done
>

what about using slay to kill all the leftover running processes of a
user at a time ?

Nicolas
-- 
Nicolas Pettiaux - email: nicolas.pettiaux at ael.be



More information about the edubuntu-users mailing list