doc-pm2
doc-pm2 copied to clipboard
Modules | Guide | PM2 Plus Documentation
https://pm2.io/doc/en/plus/guide/modules/
PM2 - Guide, References, Tutorials and Best Practices about PM2 and Node.js.
how to list activated module?`
@zyf0330 how to list activated module?`
Hi,
Use pm2 ls
to list all running processes and modules.
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 .
So you can use pm2 jlist
that show informations as json.
This page is missing from the content list menu of https://pm2.io/doc/en/runtime/reference
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 You can just use pm2 restart pm2-logrotate
and it should works