1. for i in `cat java.txt`;do echo $i; salt -S $i cmd.run " ps -ef |grep java |grep -v grep|awk '{print \$2}'|xargs kill -9";done