Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't find the process id

Tags:

pm2

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?

like image 229
Old Geezer Avatar asked Feb 12 '17 17:02

Old Geezer


1 Answers

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.

like image 165
Robbie Avatar answered Oct 01 '22 00:10

Robbie