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

Process list does not show up on SmartOS #32

Open
indexzero opened this issue Jun 18, 2014 · 11 comments
Open

Process list does not show up on SmartOS #32

indexzero opened this issue Jun 18, 2014 · 11 comments

Comments

@indexzero
Copy link

Awesome project! Mainly because there is no top on SmartOS, just prstat! Unfortunately the generic process numbers don't render:

screen shot 2014-06-18 at 1 53 38 pm

@djensen47
Copy link

👍
+1

@MrRio
Copy link
Owner

MrRio commented Jun 18, 2014

Can you paste me the output of:

ps -ewwwo %cpu,%mem,comm

@djensen47
Copy link

ps is different on SmartOS/Solaris

ps: illegal option -- w
ps: illegal option -- w
ps: illegal option -- w
ps: unknown output format: -o %cpu
ps: unknown output format: -o %mem
usage: ps [ -aAdefHlcjLPWyZ ] [ -o format ] [ -t termlist ]
        [ -u userlist ] [ -U userlist ] [ -G grouplist ]
        [ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
        [ -z zonelist ] [-h lgrplist]
  'format' is one or more of:
        addr args c class comm ctid dmodel etime f fname gid group lgrp lwp
        nice nlwp opri osz pcpu pgid pid pmem ppid pri project projid pset psr
        rgid rgroup rss ruid ruser s sid stime taskid time tty uid user vsz
        wchan zone zoneid

@djensen47
Copy link

Joyent only charges by the hour for SmartOS instances. I recommend spinning up a Node.js SmartOS instance.

@MrRio
Copy link
Owner

MrRio commented Jun 18, 2014

Thanks for that, I'm guessing the output for:

 ps -eo %cpu,%mem,comm

is better?

I'll spin one up sure

@MrRio
Copy link
Owner

MrRio commented Jun 18, 2014

Someone is working on a OS-agnostic drop-in that intends to replace my process sensor code

https://github.com/branneman/current-processes/tree/master/lib/adapter

@MrRio
Copy link
Owner

MrRio commented Jun 18, 2014

/cc @branneman

@MrRio
Copy link
Owner

MrRio commented Jun 19, 2014

Glad you like the project @indexzero 👍

MrRio added a commit that referenced this issue Jun 19, 2014
@branneman
Copy link

Thanks for the headsup, I'll look into SmartOS support for the current-processes library as well. SmartOS identifies as Solaris (sunos), right?

@branneman
Copy link

Depends on #35

@djensen47
Copy link

Is this still open?

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

4 participants