Closed steenk closed 10 years ago
Works if adding this in providers/index.js: 'freebsd': require('./mac'),
This works, but not a ideal solution since this uses child_process to get data from the ps
. See #8
Even if it's not the ideal solution, it's better that it works, than makes things like pm2 break. Improve it later for both mac and freebsd.
On Wed, Oct 9, 2013 at 1:48 AM, Arunoda Susiripala <notifications@github.com
wrote:
This works, but not a ideal solution since this uses child_process to get data from the ps. See #8 https://github.com/arunoda/node-usage/issues/8
— Reply to this email directly or view it on GitHubhttps://github.com/arunoda/node-usage/issues/13#issuecomment-25923768 .
Steen Klingberg Senior Consultant Steen Klingberg AB Phone: +46730599063
It is okay for mac. Since it is not a dev machine. I'm looking forward for a real solution for BSD.
On Wed, Oct 9, 2013 at 9:41 AM, Steen Klingberg notifications@github.comwrote:
Even if it's not the ideal solution, it's better that it works, than makes things like pm2 break. Improve it later for both mac and freebsd.
On Wed, Oct 9, 2013 at 1:48 AM, Arunoda Susiripala < notifications@github.com
wrote:
This works, but not a ideal solution since this uses child_process to get data from the ps. See #8 https://github.com/arunoda/node-usage/issues/8
— Reply to this email directly or view it on GitHub< https://github.com/arunoda/node-usage/issues/13#issuecomment-25923768> .
Steen Klingberg Senior Consultant Steen Klingberg AB Phone: +46730599063
— Reply to this email directly or view it on GitHubhttps://github.com/arunoda/node-usage/issues/13#issuecomment-25945508 .
Arunoda Susiripala
@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda
I develop on mac and have production on freebsd, but I also have mac os x server, so it could be the other way around. Presumption is the number one sin for a programmer, so you should not be so sure how people use their computers. Anyway, adding freebsd pointing to the mac.js works fine, and I can't see why an error message should be better.
On Wed, Oct 9, 2013 at 9:44 AM, Arunoda Susiripala <notifications@github.com
wrote:
It is okay for mac. Since it is not a dev machine. I'm looking forward for a real solution for BSD.
On Wed, Oct 9, 2013 at 9:41 AM, Steen Klingberg notifications@github.comwrote:
Even if it's not the ideal solution, it's better that it works, than makes things like pm2 break. Improve it later for both mac and freebsd.
On Wed, Oct 9, 2013 at 1:48 AM, Arunoda Susiripala < notifications@github.com
wrote:
This works, but not a ideal solution since this uses child_process to get data from the ps. See #8 < https://github.com/arunoda/node-usage/issues/8>
— Reply to this email directly or view it on GitHub< https://github.com/arunoda/node-usage/issues/13#issuecomment-25923768> .
Steen Klingberg Senior Consultant Steen Klingberg AB Phone: +46730599063
— Reply to this email directly or view it on GitHub< https://github.com/arunoda/node-usage/issues/13#issuecomment-25945508> .
Arunoda Susiripala
@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda
— Reply to this email directly or view it on GitHubhttps://github.com/arunoda/node-usage/issues/13#issuecomment-25945595 .
Steen Klingberg Senior Consultant Steen Klingberg AB Phone: +46730599063
added with 0.4
FreeBSD 9.0: "Error retrieving process list".