cpu 和 heroku 中的内存使用 ruby
cpu and memory usage in heroku with ruby
如何使用 ruby 在 heroku 中查看我的应用程序的 cpu 和内存使用情况。
有没有像 ubuntu 的 "top" 命令这样的东西给我内存和 cpu 利用率
提前致谢
在这里你可以查看这个信息,我复制粘贴了这个实用程序的主要信息,考虑到它是一个插件:
This Heroku Labs log-runtime-metrics feature adds experimental support
for enabling visibility into load and memory usage for running dynos.
Per-dyno stats on memory use, swap use, and load average are inserted
into the app’s log stream where they can be seen via heroku logs
--tail, used for graphs or alerting via an add-on which consumes app logs, or sent to a log drain. There is no cost incurred by enabling
this feature.
我建议激活免费的 Newrelic 附加组件:https://addons.heroku.com/newrelic It does not only give you memory and cpu information, but many insight into your app: https://newrelic.com/application-monitoring/features
如果您是 运行 Heroku 上具有两个或更多测功机的应用程序,那么您可以通过 Heroku 仪表板访问应用程序指标
https://devcenter.heroku.com/articles/metrics
否则,New Relic 或 Heroku 的其他一些插件会为您提供此类信息
如何使用 ruby 在 heroku 中查看我的应用程序的 cpu 和内存使用情况。 有没有像 ubuntu 的 "top" 命令这样的东西给我内存和 cpu 利用率 提前致谢
在这里你可以查看这个信息,我复制粘贴了这个实用程序的主要信息,考虑到它是一个插件:
This Heroku Labs log-runtime-metrics feature adds experimental support for enabling visibility into load and memory usage for running dynos. Per-dyno stats on memory use, swap use, and load average are inserted into the app’s log stream where they can be seen via heroku logs --tail, used for graphs or alerting via an add-on which consumes app logs, or sent to a log drain. There is no cost incurred by enabling this feature.
我建议激活免费的 Newrelic 附加组件:https://addons.heroku.com/newrelic It does not only give you memory and cpu information, but many insight into your app: https://newrelic.com/application-monitoring/features
如果您是 运行 Heroku 上具有两个或更多测功机的应用程序,那么您可以通过 Heroku 仪表板访问应用程序指标
https://devcenter.heroku.com/articles/metrics
否则,New Relic 或 Heroku 的其他一些插件会为您提供此类信息