How to check PM2 process?

The command "pm2 list" shows a list of individual processes that are managed by PM2, their respective process ID, and the current state. In this example, the processes "myapp1" and "myapp2" are running, while "myapp3" is stopped. In addition, this command shows you the memory usage of each process and its restart time.

pm2 remove app from list

By StarbuckBaristaStarbuckBarista on Dec 23, 2020
pm2 start <process>
pm2 stop <process>
pm2 restart <process>
pm2 delete <process>

Source: pm2.keymetrics.io

Add Comment

2

pm2 show command

By GutoTroslaGutoTrosla on Nov 24, 2020
pm2 describe

Add Comment

2

pm2 logs

By GutoTroslaGutoTrosla on Dec 12, 2020
pm2 logs <processname>

Add Comment

3

List the status of all application managed by PM2:

By Real RookReal Rook on May 06, 2020
pm2 list

Add Comment

2

pm2 status

By GutoTroslaGutoTrosla on Dec 12, 2020
pm2 status <processname>

Add Comment

1

pm2 logs

By Better BadgerBetter Badger on May 29, 2021
pm2 logs 'YOUR_PROCESS' --lines 1000

Source: stackoverflow.com

Add Comment

0

The PM2 process is part of Nodejs. It is a command line interface that lists all of the processes running on the server, and this allows us to contain and manage them better.

Shell/Bash answers related to "pm2 logs"

View All Shell/Bash queries

Shell/Bash queries related to "pm2 logs"

Browse Other Code Languages

CodeProZone