Skip to content

Commit f563800

Browse files
committed
add get_node_processes 能支持iojs pm2进程
1 parent fceec78 commit f563800

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

get_node_processes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
ps -e -o pid,command | grep -E "node |iojs |PM2 " | grep -v get_node_processes | grep -v grep

0 commit comments

Comments
 (0)