ps axu | grep user | kill -9 `awk ‘{print $2}’`
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
View processes, grep out by user and then kill all their PIDs (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Sort a list of processes by ... in ps sort more processmanagement sysadmin
» Add all new files to Subversion in awk grep svn bash subversion
» Add all new files to Subversion in awk grep svn subversion
» Counting lines in awk grep shell osx mac bash line unix c count file sed directory lines wc countlines
» Failed generation of resourc... in fastcgi postfix grep kill freebsd trac proxy tiger launchd error windows webdav firefox mozilla bookmarklet vbscript ubuntu pdf tag xml vim prototype js timestamp IMVU capistrano mongrel_cluster font geektool twitter nginx bind scriptaculous aperture sftp inline profile dscl pop3 ansi enscript history lsregister tr newline cr rm killall inputrc pipestatus greasekit packagemaker pgrep gifsicle
» Clearing out a bunch of spam... in find awk xargs postfix email spam spool
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails