Skip to content
New issue

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

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

Already on GitHub? Sign in 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant