diff --git a/bin/pm2 b/bin/pm2 index 3f6a6e73..05869f80 100755 --- a/bin/pm2 +++ b/bin/pm2 @@ -407,6 +407,12 @@ commander.command('info ') CLI.describe(proc_id); }); +commander.command('show ') + .description('(alias) describe all parameters of a process id') + .action(function(proc_id) { + CLI.describe(proc_id); + }); + // // List command // diff --git a/examples/axm/pid_info.js b/examples/axm/pid_info.js new file mode 100644 index 00000000..d7516ffb --- /dev/null +++ b/examples/axm/pid_info.js @@ -0,0 +1,2 @@ + +// ps -p 5828 -o pid,vsz=MEMORY -o user,group=GROUP -o comm,args=ARGS