Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
Node.js / PM2 operations
v0.1.6PM2 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).
pm2
jq
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:9bf4fd1bbac8704548ea43b58a3d0564f3e991b5d913df11a5cf4182da498b55
sudo emisar pack install nodejs-pm2 \ --hash sha256:9bf4fd1bbac8704548ea43b58a3d0564f3e991b5d913df11a5cf4182da498b55 \ --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 snapshot (CPU + memory)
-
node --version
-
pm2 -v
-
pm2 reload <name>
-
pm2 restart <name>
-
pm2 scale <name> <N>
-
pm2 stop <name>