diff --git a/lib/comm.js b/lib/comm.js index dcd83c6..4c1fd33 100644 --- a/lib/comm.js +++ b/lib/comm.js @@ -481,7 +481,8 @@ module.exports = Class.create({ data: this.multi.data || {}, disabled: 0, pid: process.pid, - nodev: process.version + nodev: process.version, + engine: this.storage.config.get('engine') || 'unknown' }; // then add all workers @@ -496,7 +497,8 @@ module.exports = Class.create({ data: worker.data || {}, disabled: worker.disabled || 0, pid: worker.pid || -1, - nodev: worker.nodev || 'NA' + // nodev: worker.nodev || 'NA', + engine: worker.engine || 'unknown' }; } // unique hostname } // foreach worker diff --git a/lib/engine.js b/lib/engine.js index 526c298..7c5c267 100644 --- a/lib/engine.js +++ b/lib/engine.js @@ -416,6 +416,7 @@ module.exports = Class.create({ status.data = this.multi.data; status.uptime = now - (this.server.started || now); status.nodev = process.version; + status.engine = this.storage.config.get('engine') || 'unknown' status.pid = process.pid; }