This may help -  Looked in the man page but couldn't get the switches to
work - this does tho'
ps -aux|grep <username>|grep <command>
ps -aux|grep <username>|grep <command>|kill `xargs $3`

Plkease note these atre backticks (above tab key on UK keyboard not
single quotes). Always run first line first to see what commands you are
killing as grep is greedy

Ignore junk about stuff not being found

It will work

On Fri, 2001-11-09 at 22:19, Lewi wrote:
> how do i kill all proceses owner by specific user by command name not pid?
> 
> 
> 
> -- 
> ichtus
> ------
> Lewi Supranata .K
> ICQ: 50643061
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to