使用Grinder记录CPU和内存使用情况的最佳工具? [英] Best tool to record CPU and memory usage with Grinder?

查看:217
本文介绍了使用Grinder记录CPU和内存使用情况的最佳工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用grinder来为我的应用程序的性能测试生成报告.但是我注意到它不会生成有关CPU和内存使用情况的任何报告.在进一步调查中,我发现Grinder没有提供此信息.现在,我的问题是,有没有什么工具可以与grinder挂钩,以记录CPU和内存使用情况的详细信息?

I am using grinder in order to generate reports for the performance tests for my application. But I noticed that it does not generate any report on CPU and memory usage. On further investigation, I found that Grinder does not provide this information. Now, my question is, is there any tool that can be hooked up with grinder, to record the CPU and memory usage details?

推荐答案

您已经发现,The Grinder本身不直接支持此功能.您将需要使用一系列工具来完成此任务.

As you have discovered, this is not supported directly in The Grinder itself. You will need to use a collection of tools to accomplish this.

我使用了 Quickstatd 从石墨研磨到石墨结果出现在我可以看到它们的地方.如果需要支持Windows,则可以使用collectd(带有ssc-serv和Graphite插件)来代替基于bash脚本的Quickstatd.

I use a combination of Quickstatd, Graphite, and Grinder to Graphite to get all my results in the same place where I can see them. If you need to support Windows, you can probably use collectd (with ssc-serv and the Graphite plugin) instead of Quickstatd, which is based on bash scripts.

您还可以使用 jmxtrans 工具获取服务器端指标(例如每秒的数据库查找等). a>, statsd 指标.

You can also pull in server side metrics (like DB lookups per second, etc.) with tools like jmxtrans, statsd, and metrics.

将所有信息都放在同一个地方确实很强大,并且可以为您提供一些很好的见识.

Having all that information in the same place is really powerful, and can give you some good insights.

这篇关于使用Grinder记录CPU和内存使用情况的最佳工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆