Coder Social home page Coder Social logo

Comments (11)

djensen47 avatar djensen47 commented on August 21, 2024

👍
+1

from vtop.

MrRio avatar MrRio commented on August 21, 2024

Can you paste me the output of:

ps -ewwwo %cpu,%mem,comm

from vtop.

djensen47 avatar djensen47 commented on August 21, 2024

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

from vtop.

djensen47 avatar djensen47 commented on August 21, 2024

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

from vtop.

MrRio avatar MrRio commented on August 21, 2024

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

 ps -eo %cpu,%mem,comm

is better?

I'll spin one up sure

from vtop.

MrRio avatar MrRio commented on August 21, 2024

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

from vtop.

MrRio avatar MrRio commented on August 21, 2024

/cc @branneman

from vtop.

MrRio avatar MrRio commented on August 21, 2024

Glad you like the project @indexzero 👍

from vtop.

branneman avatar branneman commented on August 21, 2024

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

from vtop.

branneman avatar branneman commented on August 21, 2024

Depends on #35

from vtop.

djensen47 avatar djensen47 commented on August 21, 2024

Is this still open?

from vtop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.