in reply to Killing multiple logins.
Of course, if you happen to run any jobs that are supposed to keep going for days in the background, you might want something like a dot file in your home directory that the killer script can look for, to know which jobs to leave alone (and have a substitute or wrapper for "nohup" that puts pids into such a file). Have fun with that.
Update:Duh -- just realized I was wrong to think that ls -ld /proc/[1-9]* could tell you how old the jobs are on linux; this does to work on solaris, at least.
|
|---|