arunoda / node-usage

process usage lookup with nodejs
MIT License
389 stars 93 forks source link

Replace native OSX code with ps output parsing #7

Closed jhurliman closed 11 years ago

jhurliman commented 11 years ago

This removes the C++ OSX code I wrote and replaces it with some JS that launches ps -vp [pid] and parses the output. This returns the same data (since my previous module was based on top/ps source code), but does not require the node-usage process to be running as root. It is also compatible with more versions of node by removing any native compilation headaches.

arunoda commented 11 years ago

Merged. released as version 0.3.7

jhurliman commented 11 years ago

Great, thanks! I was going to try and add Windows support next. I'm still trying to get a working node.js dev environment in Windows though.

arunoda commented 11 years ago

Awesome