summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-09 17:35:54 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-09 17:35:54 +0100
commit6a7e26e12a46997fc3fb8c2a6fc9f009aafeeab4 (patch)
tree2568db1edac354e8abddcbdaec17bbebf817eba1 /priv
parent1aef693a72a3289ab4653362f5dc276dfdb7edd7 (diff)
Disable printing of column headers in ps calls
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/templates/simplenode.runner4
1 files 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*)