On Fri, Nov 21, 2008 at 09:01:19AM +0100, Mattias Hemmingtsson wrote:
> awk -F: '{print $1,$3}' kill.log | while read user pid
> do
> (( pid > 1001 )) && skill -9 -u $user
> doneDepending on who's "nobody" on your system (on many it's 65535), you might want to exclude nobody as well. Sometimes network services, or other "important" processes run as nobody. Scott -- Scott L. Balneaves | Today's weirdness is tomorrow's reason why. Systems Department | -- Hunter S. Thompson Legal Aid Manitoba | -- edubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
