[Techtalk] Kill question
Mandi
mandi at linuxchick.org
Thu Sep 18 15:08:16 EST 2003
On Thu, 18 Sep 2003, Tabatha Marshall wrote:
>
> So if I can locate all the processes running by grepping my username, is
> there any way to kill this way too? We have been reading everything
> over here to find the answer, but just aren't seeing it. If not, are
> there any other ways that might make this easier on me?
>
> Thanks in advance for any help and advice you have!
>
ah, well, here's my magical shell silliness. amaze your friends with
awk...
ps -aux | grep tabatha | awk '{print $2}' | xargs kill -9
pretty ugly, but you could make it a shell alias. :)
most of the processes you see left over are probably just gnome trying to
help you out the next time you fire up any gnome program. there's some
corba back there, i think, and some other junk. i dunno why they'd be
hanging out if you're completely logged out of the box, though; i don't
really use gnome that much.
--mandi
More information about the Techtalk
mailing list