코딩일상

PM2 stop/ kill 하는법 본문

기록/Troubleshooting

PM2 stop/ kill 하는법

solutionMan 2022. 7. 26. 22:45
반응형

포트 제거 하는법

 

1안

pm2 list

pm2 stop processA

pm2 delete processA

pm2 kill

 

 

2안

sudo pkill -f pm2


레퍼런스

 

How to kill the pm2 --no-daemon process

I'm using pm2 as the process manager of Node.js. In many cases, I think I will run it as a daemon process, but if you use it locally as debugging, I think that there are times when you use the --no-

stackoverflow.com

 

 

[NodeJS] pm2 를 통하여 NodeJS 프로세스 관리하기

PM2는 P(Process) M(Manager) 2로 NodeJS 프로세서를 관리해주는 역할을 합니다. PM2는 앱이 계속 살아 있을 수 있도록 도와주는 역할을 하고 프로그램의 다운 없이 다시 로드 할 수 있도록 해주는 등의 역

www.deok.me

 

반응형
Comments