ps -ef|grep nginx
2杀死进程
killall -9 nginx
如果出现: -bash: killall: command not found
yum install psmisc -y
apt-get install psmisc
压缩
tar -zcvf error.tar error.log