From 6a7e26e12a46997fc3fb8c2a6fc9f009aafeeab4 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Thu, 9 Dec 2010 17:35:54 +0100 Subject: [PATCH] Disable printing of column headers in ps calls --- priv/templates/simplenode.runner | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner index 023f7a4..36db59e 100755 --- a/priv/templates/simplenode.runner +++ b/priv/templates/simplenode.runner @@ -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*)