The remote create-profiler command enables you to create a profiler element in the Java configuration.
Ensure that the server is running.
Remote commands require a running server.
Create a profiler by using the create-profiler(1) command.
To apply your changes, restart Enterprise Server.
Stop Enterprise Server.
For instructions, see To Stop a Domain (or Server).
Start Enterprise Server.
For instructions, see To Start a Domain (or Server).
The following example command creates a profiler named sample_profiler:
asadmin create-profiler --classpath=/home/appserver/ --nativelibrarypath=/u/home/lib --enabled=false --property=defaultuser=admin:password=adminadmin sample_profiler |
Information similar to the following is displayed:
Command create-profiler executed successfully. |
To see the full syntax and options of the command, type asadmin create-profiler --help at the command line.