Saturday, July 12, 2008

Jprofiler setup on solaris

1. For 32 bit JVM
(A) Please insert the agent.jar path into the start command of your remote application right after the java command.

-agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/mnt/users/ajaved/jprofiler4/bin/agent.jar

(B) Please add jprofiler installation path to your LD_LIBRABRY_PATH
like add /mnt/users/ajaved/jprofiler4/bin/solaris-x86 to the environment variable LD_LIBRARY_PATH.

2. For 64 bit JVM
(A) Please insert the agent.jar path into the start command of your remote application right after the java command.

-agentlib:jprofilerti=port=8849 -Xbootclasspath/a:/mnt/users/ajaved/jprofiler4/bin/agent.jar

(B) Please add jprofiler installation path to your LD_LIBRABRY_PATH
like add /mnt/users/ajaved/jprofiler4/bin/solaris-x64 to the environment variable LD_LIBRARY_PATH.

Sphere: Related Content

0 comments: