[orbit-user] awk help
jfm3
jfm3 at winlab.rutgers.edu
Thu May 8 12:36:57 EDT 2008
>>>>> zanb <zanb at eden.rutgers.edu> writes:
> Hi all, I am writing a command to kill process using awk.
> ps aux | awk '/protol/ {print $2}' | kill
> however it doesn't work.
I'm not sure exactly what you're trying to do, but I think the
'killall' command (man killall) will do what you need without having
to resort to running 'awk' on the output of 'ps'.
--
#:jfm3
More information about the orbit-user
mailing list