CartMetrix - Do you know yours?

« RPM Tricks | Home | Less vs More »

10/18/2005

Kill a Specific Process of a Specific User

kill -9 `ps -aux | grep user | grep processname | awk '{print $2}'`

Popularity: 12%

Trackback:

Related Posts

One Response to “Kill a Specific Process of a Specific User”

  1. Elliot Anderson said:

    My version is similar:

    ps -aux | grep $username | grep $application | awk ‘{print $2}’ | xargs kill -9

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2009 damonparker.org. all rights reserved.

Close
E-mail It