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
» Set Site Restrict in apache php fastcgi mysql find awk lighttpd ruby rails grep ssh date perl regex shell textpattern svn http osx mac css python google html bash subversion error windows webdav sql activerecord javascript firefox expressionengine java flash actionscript rubyonrails unix bookmarklet ubuntu linux applescript cli database c text ajax csharp XSLT image string xml terminal file prototype array web delphi administration bind aperture convert rm
» Restrict by CSE in apache php fastcgi mysql find awk lighttpd ruby rails grep ssh date perl regex shell textpattern svn http osx mac css python google html bash subversion error windows webdav sql activerecord javascript firefox expressionengine java flash actionscript rubyonrails unix bookmarklet ubuntu linux applescript cli database c text ajax csharp XSLT image string xml terminal file prototype array web delphi administration bind aperture convert rm
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails