Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
zhangyijun opened this issue Jul 24, 2013 · 2 comments
Closed

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

zhangyijun opened this issue Jul 24, 2013 · 2 comments

Comments

@zhangyijun
Copy link

版本: 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

@newroc
Copy link

newroc commented Jul 25, 2013

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

@zhangyijun
Copy link
Author

simple monitor还是不能用

@teaey teaey closed this as completed Mar 18, 2016
chickenlj added a commit that referenced this issue Dec 13, 2019
introduce loading strategy to have chance to change loader's behavior
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants