mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
add alias pm2 show <id>
This commit is contained in:
parent
44a9be19cb
commit
d6bbbd831e
6
bin/pm2
6
bin/pm2
@ -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
2
examples/axm/pid_info.js
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
// ps -p 5828 -o pid,vsz=MEMORY -o user,group=GROUP -o comm,args=ARGS
|
||||
Loading…
x
Reference in New Issue
Block a user