diff --git a/lib/API/CliUx.js b/lib/API/CliUx.js index 6030f51fd..b235e34dd 100644 --- a/lib/API/CliUx.js +++ b/lib/API/CliUx.js @@ -198,7 +198,7 @@ UX.describeTable = function(process) { */ UX.dispAsTable = function(list, commander) { var stacked = (process.stdout.columns || 90) < 90; - var app_head = stacked ? ['Name', 'mode', 'status', '↺', 'cpu', 'memory'] : + var app_head = stacked ? ['Name', 'id', 'mode', 'status', '↺', 'cpu', 'memory'] : ['App name', 'id', 'mode', 'pid', 'status', 'restart', 'uptime', 'cpu', 'mem', 'user', 'watching']; var mod_head = stacked ? ['Module', 'status', 'cpu', 'mem'] : ['Module', 'version', 'target PID', 'status', 'restart', 'cpu', 'memory', 'user']; @@ -302,8 +302,7 @@ UX.dispAsTable = function(list, commander) { obj[key] = []; // PM2 ID - if (!stacked) - obj[key].push(l.pm2_env.pm_id); + obj[key].push(l.pm2_env.pm_id); // Exec mode obj[key].push(mode == 'fork_mode' ? chalk.inverse.bold('fork') : chalk.blue.bold('cluster'));