Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

390
Views
How to find out which ecosystem.json file is used to start a process in pm2

I have a bunch of processes started by PM2 on a server. pm2 list shows this:

enter image description here

I'm sure that each of them is started with an ecosystem config file. What I want to know is that what pm2 ecosystem config file is used to start for example process with the id 62 and the ecosystem config file path.

So is there any pm2 command for that?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Well, you can differ processes by app name (so you should set unique name in each ecosystem config file) or you can use a NODE_APP_INSTANCE variable to differ processes in cluster.

[EDIT]

There is no way how to find specific ecosystem file but you can use pm2 describe [processID/name] to find directory where was pm2 start executed (exec cwd parameter). If there is more ecosystem files than 1 you can differ processes only by name.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!