1. Overview of GlassFish Server Administration
Default Settings and Locations
Instructions for Administering GlassFish Server
4. Administering the Virtual Machine for the Java Platform
6. Administering Web Applications
7. Administering the Logging Service
8. Administering the Monitoring Service
9. Writing and Running JavaScript Clients to Monitor GlassFish Server
10. Administering Life Cycle Modules
11. Extending and Updating GlassFish Server
Part II Resources and Services Administration
12. Administering Database Connectivity
13. Administering EIS Connectivity
14. Administering Internet Connectivity
15. Administering the Object Request Broker (ORB)
16. Administering the JavaMail Service
17. Administering the Java Message Service (JMS)
18. Administering the Java Naming and Directory Interface (JNDI) Service
19. Administering Transactions
A profiler generates information used to analyze server performance.
The following topics are addressed here:
A server instance is tied to a particular profiler by the profiler element in the Java configuration. If JVM options are created for a profiler, the options are used to record the settings needed to activate a particular profiler. Use the create-profiler subcommand in remote mode to create the profiler element in the Java configuration.
Only one profiler can exist. If a profiler already exists, you receive an error message that directs you to delete the existing profiler before creating a new one.
Remote subcommands require a running server.
Information about properties for the subcommand is included in this help page.
See To Restart a Domain.
Example 4-6 Creating a Profiler
This example 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 Command create-profiler executed successfully.
See Also
You can also view the full syntax and options of the subcommand by typing asadmin help create-profiler at the command line.
Use the delete-profiler subcommand in remote mode to delete the profiler element from the Java configuration. You can then create a new profiler.
Remote subcommands require a running server.
See To Restart a Domain.
Example 4-7 Deleting a Profiler
This example deletes the profiler named sample_profiler.
asadmin> delete-profiler sample_profiler Command delete-profiler executed successfully.
See Also
You can also view the full syntax and options of the subcommand by typing asadmin help delete-profiler at the command line.