From my linux machine, typing pm2 status
shows me
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
├──────────────┼────┼──────┼───────┼─────────┼─────────┼────────┼─────────────┼──────────┤
│ gamatrix-dev │ 0 │ fork │ 0 │ stopped │ 0 │ 0 │ 0 B │ disabled │
│ gamatrix │ 1 │ fork │ 22779 │ online │ 10 │ 2D │ 78.793 MB │ disabled │
│ elevacad │ 2 │ fork │ 14106 │ online │ 13 │ 3D │ 36.227 MB │ disabled │
I'm pretty sure for the last two lines, they were initiated by a command like pm2 start someapp.js
. Is there a way to know what value someapp.js
really was that started the process?