# list of running services pm2 ls # restart service with id=0 pm2 restart 0 # display logs of service with id=7 pm2 logs 7