Re: [ILUG] kill process by name

From: David Neary (dneary at domain wanadoo.fr)
Date: Tue 16 Jul 2002 - 11:50:35 IST


hrishy wrote:
> Hi All
>
> I want to kill a process by name...for example if
> there are 100 process .what i want to do is

ps -ao pid,args | grep 'command' | awk '{print $1}' | xargs kill

Dave.

-- 
       David Neary,
    Marseille, France
  E-Mail: bolsh at domain gimp.org


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:54 GMT