Well there are multiple solutions to any problem. This one works well in the kind of enviroment I am involved in - where anybody who enter the computer room at night is trying to nick the server.
I never tried to bash your script, I simply wished to point out an alternative. This alternative being of the q&d variety I guess. The idea with my script is for it to run once daily to kill of stale logins etc. at a time when the lab is otherwise empty, not just wipe old processes. In the end I guess cut and paste remains equally simple for either one :) As for samba under /home, I won't say anything. A.J. > Well A.J, you just killed some of the samba stuff ;-), you also killed > possibly valid user processes - people *are* allowed to work at night. > slay is very brutal (and guess how it achieves a kill). My little script > is way oversimplified, but it removes only *old* user processes. New > processes don't have month name in ps listing. I don't have anybody coming > to work before midnight and lasting to 3am - that's when the script is run > and i do have a samba directory in/home (don't ask why :-) > julius > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _____________________________________________________________________ > 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.freenode.net ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _____________________________________________________________________ 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.freenode.net
