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

On smartos ps complains about o option #13

Open
fire opened this issue May 31, 2014 · 0 comments
Open

On smartos ps complains about o option #13

fire opened this issue May 31, 2014 · 0 comments

Comments

@fire
Copy link

fire commented May 31, 2014

On smartos ps complains about the o option. So this code breaks:

 process.checks :mem_usage, :every => 1.minutes, :below => 750.megabytes, :times => [3, 5]

with ps: illegal option -- o

The code says ps axo pid,ppid,pcpu,rss,etime,command.

This seems to work on smartos:

ps -eo pid,ppid,pcpu,rss,etime,comm
@fire fire changed the title On smartos On smartos ps complains about o option May 31, 2014
# 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

1 participant