pm2 rm all code example
Example 1: pm2 remove id
# stop
pm2 stop process_name
# delete
pm2 delete process_name
Example 2: pm2 stop process
pm2 stop <processname>
# stop
pm2 stop process_name
# delete
pm2 delete process_name
pm2 stop <processname>