Skip to content

Commit

Permalink
优化node进程的获取
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Aug 3, 2015
1 parent 4509a69 commit 62b5214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_processes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

ps -e -o pid,command | grep $1 | grep -v grep
ps -e -o pid,command | grep "$1 " | grep -v get_processes | grep -v grep

0 comments on commit 62b5214

Please sign in to comment.