Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

392
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda