collegian
collegian

Reputation: 65

Profiling a jar file remotely?

Is there any profiler available in the java environment which can be used on a remote machine? I have a .jar file (plain java code,nothing fancy) running on a remote machine and I want to profile that file. However,I can't install the profiler on the remote machine since I do not have the necessary permissions. Is there any way I can profile the application from my local machine?

Upvotes: 1

Views: 1886

Answers (1)

Michael Borgwardt
Michael Borgwardt

Reputation: 346457

Aall Java profilers I know have that ability, since the Java debugging interface (JVMTI) is inherently network-capable.

VisualVM has basic (but often sufficient) profiling features and comes with the JDK.

Upvotes: 2

Related Questions