process benchmarking
Hi All,
I want to measure the performance of a user-defined daemon over several sample runs in terms of its average CPU/Memory usage and running time. I am using Ubuntu 9.04. I would prefer a console-based benchmarking software capable of providing info about the above measurements (CPU/Memory usage and running time) over a sample run since I will need to write a shell script which will execute the user-defined daemon with different inputs and collect the statistics into a single file. Thanks. |
For a start, there's the 'time' cmd http://linux.die.net/man/7/time and in Linux also the gnu extended version, usually referenced as \time.
Other toptions includes writing a wrapper in another lang eg Perl and using hi-res timers and even extracting various measures from the kernel, using the modules available from search.cpan.org. |
All times are GMT -5. The time now is 05:14 PM. |