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.
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.