Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Profiling for Disk Usage

Tags:

java

I want to currently profile my application which uses JCS for caching.I have used the default profiler which comes with netbeans IDE and it proves satisfactory for memory.But I want to profile my application for disk usage,because my app caches items in disk I want to verify its performance.Is there a way to do this using the profiler that comes with netbeans or using any commercial profiler such as JProfiler. Thanks in advance

like image 473
Madusudanan Avatar asked Dec 06 '11 07:12

Madusudanan


2 Answers

JProfiler has a file probe that will show you:

  • a time line of files and the I/O activities on them
  • a list of all files with their I/O statistics
  • "hot spots", i.e. files on which most read/write operations are performed together with cumulated back traces to your code
  • telemetries for total read and write throughput
  • an "events" view showing single I/O operations

enter image description here

Disclaimer: My company develops JProfiler

like image 179
Ingo Kegel Avatar answered Oct 28 '22 19:10

Ingo Kegel


You can do this using one of the built-in probes in JProfiler.

like image 21
Yrlec Avatar answered Oct 28 '22 17:10

Yrlec