Written by Philipp on 2013-09-03
Plotting UNIX Processes with DOT
Graphics . Javascript . ToolingInspired 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