add alias pm2 show <id>

This commit is contained in:
Unitech 2014-12-12 14:10:46 +01:00
parent 44a9be19cb
commit d6bbbd831e
2 changed files with 8 additions and 0 deletions

View File

@ -407,6 +407,12 @@ commander.command('info <id>')
CLI.describe(proc_id);
});
commander.command('show <id>')
.description('(alias) describe all parameters of a process id')
.action(function(proc_id) {
CLI.describe(proc_id);
});
//
// List command
//

2
examples/axm/pid_info.js Normal file
View File

@ -0,0 +1,2 @@
// ps -p 5828 -o pid,vsz=MEMORY -o user,group=GROUP -o comm,args=ARGS