ps axf|grep "/usr/local/bin/ruby ./server.rb"|tail -n1 |awk '{print $1}'|xargs kill -9意思是:杀掉/usr/local/bin/ruby ./server.rb这个进程