Month: September 2013

Plotting UNIX Processes with D3

I created another Plot, using D3js: You can find all Scripts here. I am still have to figure out how to do graph updates and add label to the nodes.

Plotting UNIX Processes with DOT

Inspired by this Post this post, I started playing around with ps, nodejs and GraphViz. After reading some ps man Pages, i found the necessary ps parameters. For MacOS i used ps -A -c -o pid,ppid,pcpu,comm,uid -r For Linux i used ps -A -o pid,ppid,pcpu,comm,uid You then get some Output like: PID PPID %CPU COMMAND