1.查看Nginx的版本号:
nginx -v
2.启动Nginx:
start nginx
3.快速停止或关闭Nginx
nginx -s stop
4.正常停止或关闭Nginx:
nginx -s quit
5.配置文件修改重装载命令:
nginx -s reload
6.查看nginx进程
tasklist /fi "imagename eq nginx.exe"
7. 查看所有nginx进程
tasklist /fi "imagename eq nginx.exe"
8.杀进程
taskkill /f /pid 16900 /pid 19012
标签:命令,tasklist,Nginx,windows,pid,nginx,imagename,eq
From: https://www.cnblogs.com/nbfangzhu/p/16641937.html