查看端口进程
netstat -tunlp|grep 端口
kill -9 [pid] 杀掉进程
linux搜索历史命令:history | grep 'nginx'
history
|
grep
'nginx'
根据进程名杀掉进程
ps -aux|grep etcd|wak '{print $1}'|xargs kill
等待sleep