Tool to monitor & log system metrics during automated Java performance tests -


we have application using spring integration in core, , have created performance tests see processing speed (msgs/sec) different generated input types.

this process automated, whenever such test run, separate instance created in cloud, , disposed after done & output artefacts copied.

what want have performance tests monitored during run basic system metrics -- cpu, memory, i/o, gc runs/time. obviously, result of should csv files metrics readings (e.g., once or twice second).

so question is: are there , configurable tools these purposes?

i'm in middle of investigation, profiling tools reviewed far require human interaction , ui oriented.

an option i'm considering writing separate tool access mxbean & use log such data during performance tests. wondering if around.

please note application running in tomcat, performance tests using spring integration's file endpoints.

please note, 'switchable' component within application possible solution. however, i'm looking application-agnostic external tools-first solution.

command-line tools come kind of scenario:

on linux/solaris based environment:

  1. before run/trigger jvm spring based application, can run tools vmstat, sar in background mode output redirected flat file - helps capture cpu, memory , other such statistics. use top options or mpstat thread-level statistics if seem hitting performance problem, bottleneck analysis.
  2. now run jvm arguments printgc, -xloggc write jvm verbose output flat file or print gc statictics. under debugging options section jvm arguments in java hotspot vm options more options need.

tip: create shell script combining both commands above run @ same time , achieve requirement.

on windows environment:

  1. for os statistics gathering on commandline, use typeperf or tracerpt (csv supported).
  2. now run jvm arguments printgc, -xloggc write jvm verbose output flat file or print gc statictics. under debugging options section jvm arguments in java hotspot vm options more options need.

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -