If an application is running using PM2, how do you stop it?
pm2 stop your_app_name
This command tells PM2 to stop the application with the name your_app_name.
your_app_name
Stop a single application:
pm2 stop <app-name>
Stop all applications:
pm2 stop all