-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: You seems to run on a Mac OS, node-usage can't get monitor data #3
Comments
Hello, thanks for reporting issues. PM2 is using the module https://github.com/arunoda/node-usage to retrieve monitoring data for a specific process, unfortunately it's still not compatible with Mac OSx, feel free to pull request. But I would like to tell that pm2 is a production module, who should be mainly used on servers Cheers ! |
I sent a pull request to node-usage (arunoda/node-usage#5) to address this. Once it is merged in and a new version is published to npm, does anything need to change in pm2? |
Excellent, I will add a way to update pm2 smoothly |
i'm using pm2 version 0.4.7. and i've installed usage(node-usage).. |
and my 'usage' version is 0.3.5 |
Node Usage has been patched with @jhurliman 's pull request. Hope now pm2 can be used in mac too :) |
Ty Here is the update procedure for people who wants to upgrade to newest version : https://github.com/Unitech/pm2#updating-pm2-and-keeping-processes-alive |
I think I got the same error :/ Did I need to install Monit on my Mac ? or node-usage do the same think like Monit ?
|
@igorissen, the short answer is that the daemon needs to be run as root on OSX. Run |
Just a heads up, I submitted another pull request to node-usage that allows it to run on OSX without root privileges (arunoda/node-usage#7). If that gets merged, I'll modify my pull request for pm2 to not require the daemon to be run as root on OSX. |
node-usage 0.3.7 is out, and my pull request has been updated. |
It works now ! Thank you. |
Hi,
If I understand, I need to install Monit first on my MacBook (10.8 Mountain Lion) to use
pm2 monit
?The text was updated successfully, but these errors were encountered: