summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-10 17:11:01 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-10 17:11:01 +0100
commit5bb78f619e7e186e762a3ab95dbfe6caa9f5ba15 (patch)
tree4aa4248a1990a6c74e0081094474030469c0836a /priv
parent618b292c3d848636c85aaf335e32618f26ab8400 (diff)
Change vm process search to include non-smp beam
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/templates/simplenode.runner6
1 files changed, 3 insertions, 3 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index 36db59e..184ee44 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -70,16 +70,16 @@ case "$1" in
Linux|Darwin|FreeBSD|DragonFly|NetBSD|OpenBSD)
# PID COMMAND
PID=`ps ax -o pid= -o command=|\
- grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|awk '{print $1}'`
+ grep "$RUNNER_BASE_DIR/.*/[b]eam"|awk '{print $1}'`
;;
SunOS)
# PID COMMAND
PID=`ps -ef -o pid= -o args=|\
- grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|awk '{print $1}'`
+ grep "$RUNNER_BASE_DIR/.*/[b]eam"|awk '{print $1}'`
;;
CYGWIN*)
# UID PID PPID TTY STIME COMMAND
- PID=`ps -efW|grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|\
+ PID=`ps -efW|grep "$RUNNER_BASE_DIR/.*/[b]eam"|\
awk '{print $2}'`
;;
esac