Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Offline Data Recording

Moderators: Vladimir Kondratyev, Anton Katilin

Offline Data Recording

Postby Puggs » Tue Jan 13, 2015 4:47 am

Hi

We have a production server that after a random number of days juts starts using 100% of all 8 CPUs.

Unfortunately it usually does it when I am limited to a poor internet connection so can not connect and get data form the profiler.

Is there a way of recording a log file on the server and then opening that in YourKit?

Puggs
Puggs
 
Posts: 1
Joined: Tue Jan 13, 2015 4:39 am

Re: Offline Data Recording

Postby Anton Katilin » Tue Jan 13, 2015 8:59 am

Hi Puggs

Yes, you can use the profiler without the UI.

Different options are available:

Command line tool:
http://www.yourkit.com/docs/java/help/c ... e_tool.jsp

API:
http://www.yourkit.com/docs/java/help/api.jsp

Triggers (in particular, you may be interested in "How to specify triggers on startup"):
http://www.yourkit.com/docs/java/help/triggers.jsp

Startup options to initiate profiling and instruct the profiler to capture a snapshot when the application exits:
http://www.yourkit.com/docs/java/help/s ... ptions.jsp

Best regards,
Anton
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 5 guests