Viewing the List of Scripts via PM2 on a VPS Server
Using the following command you can view the list of scripts running via PM2:
pm2 list
Create two test sites
test1.com and test2.com,
running on different ports.
Start both test sites via PM2.
View the list of running scripts via PM2.
Stop one of the scripts and see what changes in the script list.
Delete one of the scripts and see what changes in the script list.