瀏覽代碼

Disable printing of column headers in ps calls

pull/3/head
Tuncer Ayaz 14 年之前
父節點
當前提交
6a7e26e12a
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      priv/templates/simplenode.runner

+ 2
- 2
priv/templates/simplenode.runner 查看文件

@ -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…
取消
儲存