I believe that you are required to measure the CPU consumption and IO load caused by your application activity.
If you are on Unix-like system you can use
top
command for manual monitoringvmstat
for automatic monitosring of whole machineps
with appropriate options to monitor specific process.
On Windows start from using Task Manager. You can also implement script in vbs
or jscript
that gets the same data using WMI.
If you need platform independent way implemented in java you can use JMX. System bean provides limited information at least about CPU consumption.