Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
Node.js / PM2 operations
v0.1.1PM2 process inventory + logs + per-app introspection, plus narrow mutators (restart, reload, stop, scale). Requires the runner to be the same uid as the PM2 daemon (or set PM2_HOME).
Install
emisar pack install
validates the pack and verifies its content hash before copying it into /etc/emisar/packs.
The --hash
below pins the
install to the exact bytes on this page — a tampered copy is rejected. After
install, reload the runner; it re-reads the catalog and advertises every action.
content hash: sha256:c8991f2298bcb0d3b8933dfe6d0b03616fcf63e4cc5bc110fa32ef7816e34fd4
sudo emisar pack install nodejs-pm2 \ --hash sha256:c8991f2298bcb0d3b8933dfe6d0b03616fcf63e4cc5bc110fa32ef7816e34fd4 \ --dest /etc/emisar/packs # Reload so the runner re-reads the catalog: sudo systemctl reload emisar
Actions 15 total
View on GitHub-
pm2 describe <name>
-
pm2 dump
-
pm2 env <id>
-
pm2 logs <name> --err --lines N --nostream
-
pm2 flush <name>
-
pm2 jlist
-
pm2 list
-
pm2 logs <name> --lines N --nostream
-
pm2 monit (one snapshot)
-
node --version
-
pm2 -v
-
pm2 reload <name>
-
pm2 restart <name>
-
pm2 scale <name> <N>
-
pm2 stop <name>