Giter Club home page Giter Club logo

Comments (1)

ahbarnett avatar ahbarnett commented on July 18, 2024

Dear Carlos,
I haven't tried this on a mac (note the doc says linux/unix only). It uses various unix commands (top, jobs, kill, etc). It probably has something to do with the "top" command format being different on BSD. Eg, the ordering of "top" columns has to match (col 11 is the time, etc), like this:

top - 11:40:53 up 30 days, 12:41, 1 user, load average: 0.15, 0.18, 0.26
Tasks: 321 total, 1 running, 319 sleeping, 1 stopped, 0 zombie
%Cpu(s): 14.5 us, 5.3 sy, 1.8 ni, 78.2 id, 0.1 wa, 0.0 hi, 0.2 si, 0.0 st
KiB Mem : 32805892 total, 8016900 free, 9476208 used, 15312784 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 20386308 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31046 alex 20 0 42092 3912 3116 R 12.5 0.0 0:00.02 top
883 avahi 20 0 51640 10140 3172 S 6.2 0.0 433:21.70 avahi-dae+
...

Running "top -b" removes the header, but column order should match.

Another thing you can do: look at the file memorygraph_9878fdd5.tmp that it made. It should look like "top -b" output just for one PID.

I will try to find a mac with matlab on it and run it. Or if you're interested, please try to figure it out.
Best, Alex

from memorygraph.

Related Issues (2)

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.