I got strucked, after some days when I see pm2 list, there is no any apps, so I used this resurrect command, it will show the old apps. Note: it will show only the saved apps which we used before
pm2 resurrect
I used this above command, it will show the apps,
pm2 --help (here we will get all the commands)
pm2 ls
pm2 start app.py --interpreter python3
pm2 status
pm2 ls
pm2 logs
pm2 stop app or (pm2 stop 0)
pm2 restart app or (pm2 restart 0)
pm2 show app
pm2 stop app
pm2 delete app