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 tried the following test,
ps aux | awk '/process_name/ {print $2}' |sort -r
it looks correct.
Thanks for any advice.
Bin Zan