mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Disable printing of column headers in ps calls
This commit is contained in:
parent
1aef693a72
commit
6a7e26e12a
1 changed files with 2 additions and 2 deletions
|
@ -69,12 +69,12 @@ case "$1" in
|
||||||
case `uname -s` in
|
case `uname -s` in
|
||||||
Linux|Darwin|FreeBSD|DragonFly|NetBSD|OpenBSD)
|
Linux|Darwin|FreeBSD|DragonFly|NetBSD|OpenBSD)
|
||||||
# PID COMMAND
|
# PID COMMAND
|
||||||
PID=`ps ax -o pid -o command|\
|
PID=`ps ax -o pid= -o command=|\
|
||||||
grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|awk '{print $1}'`
|
grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|awk '{print $1}'`
|
||||||
;;
|
;;
|
||||||
SunOS)
|
SunOS)
|
||||||
# PID COMMAND
|
# PID COMMAND
|
||||||
PID=`ps -ef -o pid -o args|\
|
PID=`ps -ef -o pid= -o args=|\
|
||||||
grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|awk '{print $1}'`
|
grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|awk '{print $1}'`
|
||||||
;;
|
;;
|
||||||
CYGWIN*)
|
CYGWIN*)
|
||||||
|
|
Loading…
Reference in a new issue