Disable printing of column headers in ps calls

This commit is contained in:
Tuncer Ayaz 2010-12-09 17:35:54 +01:00
parent 1aef693a72
commit 6a7e26e12a

View file

@ -69,12 +69,12 @@ case "$1" in
case `uname -s` in
Linux|Darwin|FreeBSD|DragonFly|NetBSD|OpenBSD)
# 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}'`
;;
SunOS)
# 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}'`
;;
CYGWIN*)