MCPcopy
hub / github.com/Unitech/pm2 / monitor

Function monitor

lib/API/pm2-plus/process-selector.js:22–25  ·  view source on GitHub ↗
(pm_id, cb)

Source from the content-addressed store, hash-verified

20 }
21
22 function monitor (pm_id, cb) {
23 // State can be monitor or unmonitor
24 that.Client.executeRemote(state, pm_id, cb);
25 }
26 if (target === 'all') {
27 that.Client.getAllProcessId(function (err, procs) {
28 if (err) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…