Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
错误地,我在服务器上运行了以下命令 pm2start app.js -i 3500
pm2start app.js -i 3500
现在在服务器上以集群模式创建多个实例。谁能建议我如何阻止这个?我怎样才能删除已经存在的实例?
谢谢
Pm2 通常为进程组命名。您可以检查,pm2 list然后运行 pm2 delete processname
pm2 list
pm2 delete processname
或者运行pm2 delete all 删除所有进程
pm2 delete all