Skip to content

所有启动脚本都无法在Mac下工作 #8

Closed

Description

@zhangyijun

版本: 2.4.10

似乎脚本都使用了ps -f,在Mac OS平台 无法工作,类似下面错误

PIDS=ps -f | grep java | grep "$DEPLOY_DIR" | awk '{print $2}'
ps -f | grep java | grep "$DEPLOY_DIR" | awk '{print $2}'
ps: illegal option -- f
usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
[-u]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
echo "PID: $PIDS"
PID:
echo "STDOUT: $STDOUT_FILE"
STDOUT: logs/stdout.log

Activity

  1. newroc commented on Jul 25, 2013

    @newroc

    升级到2.5.3就好了,新版本已经解决了这个问题

  2. zhangyijun commented on Jul 28, 2013

    @zhangyijun
    Author

    simple monitor还是不能用

  3. added a commit that references this issue on Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions