killer.sh
#!/bin/bash
process_name=
process_id=
running_process="$(ps)"
cat kill_list | while read LINE
do
process_name=$LINE
process_id=`ps | awk '/'$process_name'/{print $1}'`
kill $process_id
echo $process_id
done
kill_list
netease
tecent