Supervisord 可以用于程序的内存和 CPU 使用情况分析吗

发布于 2024-10-04 00:47:27 字数 295 浏览 0 评论 0原文

我必须找出在一段时间内重复运行特定 api 是否会导致内存泄漏。

我有一个简单的 C 程序,用于测试 API 一次。我打算编译它并使用supervisord 重复运行exe。

Supervisord 还可以分析程序的 CPU 和内存使用情况吗?
我在几个博客中进行了广泛的搜索,但没有找到太多有关supervisord 分析能力的信息。

有关主管的更多信息,请访问 http://supervisord.org

I have to find if running a particular api repeatedly over a period of time cause memory leak.

I have a simple C program which is used to test the API once. I am planning to compile it and run the exe using supervisord repeatedly.

Can supervisord also profile the program's CPU and memory usage?
I searched extensively in several blogs but did not find much information on profiling ability of supervisord.

More about supervisor at http://supervisord.org

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

荒人说梦 2024-10-11 00:47:27

它可以,请参阅 Supervisod 事件监听器Superlance。我遇到了主管泄漏内存本身的问题。 Monit 可以轻松监控内存和CPU,并且不占用大量资源。

It can, see Supervisod Event Listeners and Superlance. I've had issues with supervisord leaking memory itself. Monit can easily monitor memory and CPU and doesn't use a lot of resources.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文