如何衡量在ubuntu上运行的java应用程序的I / O时间? [英] How to measure I/O time for a java application running on ubuntu?

查看:146
本文介绍了如何衡量在ubuntu上运行的java应用程序的I / O时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想收集应用程序等待I / O的时间。我在ubuntu / linux上运行这个java应用程序。我正在使用yourkit profiler。建议是否有其他用于测量I / O时间的分析工具。

I would like to gather amount of time my application is waiting for I/O. I am running this java application on ubuntu/linux. I am using yourkit profiler. Suggest if there any other profiling tool for measuring I/O time.

推荐答案

您可以使用 RotateRight / Zoom LTProf 。或者,如果您没有达到高精度,您可以使用 lsstack 获取10或20个堆栈样本,并查看I / O中的百分比,或者使用Java执行相同的操作。

You can use RotateRight/Zoom or LTProf. Or, if you're not after high precision, you can just take 10 or 20 stack samples using lsstack and see what percent are in I/O, or do the equivalent thing in Java.

这篇关于如何衡量在ubuntu上运行的java应用程序的I / O时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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