doc-pm2 icon indicating copy to clipboard operation
doc-pm2 copied to clipboard

Modules | Guide | PM2 Plus Documentation

Open rmonnier9 opened this issue 6 years ago • 7 comments

https://pm2.io/doc/en/plus/guide/modules/

PM2 - Guide, References, Tutorials and Best Practices about PM2 and Node.js.

rmonnier9 avatar May 30 '18 14:05 rmonnier9

how to list activated module?`

zyf0330 avatar Jun 19 '18 03:06 zyf0330

@zyf0330 how to list activated module?`

Hi,

Use pm2 ls to list all running processes and modules.

rmonnier9 avatar Jun 19 '18 12:06 rmonnier9

actually, I am looking for a way to list installed modules without format. Thanks

On Tue, Jun 19, 2018, 20:17 Robin Monnier [email protected] wrote:

@zyf0330 https://github.com/zyf0330 how to list activated module?`

Hi,

Use pm2 ls to list all running processes and modules.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keymetrics/doc-pm2/issues/213#issuecomment-398378390, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZ5gcWGPwNCPcmWvADKXyXs0zBIUGwzks5t-OvzgaJpZM4UTc-t .

zyf0330 avatar Jun 19 '18 12:06 zyf0330

So you can use pm2 jlist that show informations as json.

rmonnier9 avatar Jun 19 '18 13:06 rmonnier9

This page is missing from the content list menu of https://pm2.io/doc/en/runtime/reference

liujingbreak avatar Jul 03 '18 06:07 liujingbreak

Hi,I have a Question: How to restart a deactivated module(eg: pm2-logrotate)? I happened to have deleted a module like pm2-logrotate and have no idea as to how to restart it, except for uninstall and install again?

wizardpisces avatar Jan 22 '19 10:01 wizardpisces

@wizardpisces You can just use pm2 restart pm2-logrotate and it should works

vmarchaud avatar Jan 22 '19 11:01 vmarchaud