7

I have PM2 on a GoDaddy Ubuntu cloud server. pm2 list shows as follows:

enter image description here

Is the fourth column the process id? Every one seems to be 0. Is there something wrong with my installation?

Old Geezer
  • 14,854
  • 31
  • 111
  • 198

2 Answers2

18

The 4th column is the number of restarts. It's supposed to show a little icon, like this:

pm2 list view with a narrow terminal

The reason its not showing the process id column is because your terminal window is too narrow. Try extending it and running pm2 list again. I believe this responsive list view is a recently added feature.

Once your terminal is wide enough, it should look like this:

pm2 list view with a wide terminal

as you can see the process id (pid) is now shown.

Robbie
  • 18,750
  • 4
  • 41
  • 45
0

check your error log maybe can get something useful tips, and check have you turn on "watch" options? if you turn on the "watch" options, pm2 will be restart when the file had changed, so you need to add the log files in "ignore_watch" options, or pm2 will be always restart loop because the log file always has changed

Tim Wong
  • 277
  • 1
  • 4
  • 17