1. for循环
for i in $(ps -ef | grep -w 'MQClient'| grep -v grep|awk '{print $2}'); do kill -9 $i; done