asadmin [asadmin-options] create-profiler [--help]
[--target target_name]
[--classpath classpath] [--nativelibpath native_library_path] [--enabled=true]
[--property(name=value)[:name=value]*] profiler_name
|
create-profiler |
| Previous | Next | Contents |
creates the profiler element
Synopsis
asadmin [asadmin-options] create-profiler [--help]
[--target target_name]
[--classpath classpath] [--nativelibpath native_library_path] [--enabled=true]
[--property(name=value)[:name=value]*] profiler_name
Description
The create-profiler subcommand creates the profiler element. A server
instance is tied to the profiler by the profiler element in the Java
configuration. Only one profiler exists at a time. If you attempt to
create a profiler while one already exists, an error message is
displayed.
For changes to take effect, the server must restarted.
This subcommand is supported in remote mode only.
Options
Options for the asadmin utility. For information about these
options, see the asadmin(1M) help page.
--help-?Displays the help text for the subcommand.
--targetThis option specifies the target on which you are creating a profiler.
Valid values are
serverCreates the profiler for the default server instance. This is the default value.
Creates the profiler for the named configuration
Creates the profiler for every server instance in the cluster
Creates the profiler for a particular server instance
--classpathJava classpath string that specifies the classes needed by the profiler.
--nativelibpathThis path is automatically constructed to be a concatenation of the
\{product---name} installation relative path for its native shared
libraries, standard JRE native library path, the shell environment
setting (LD_LIBRARY_PATH on UNIX) and any path that may be specified
in the profile element.
--enabledProfiler is enabled by default.
--propertyName/value pairs of provider-specific attributes.
Operands
Name of the profiler.
Examples
Example 1 Creating a Profiler
This example creates a profiler named sample_profiler.
asadmin> create-profiler --classpath /home/appserver/
--nativelibpath /u/home/lib --enabled=false
--property defaultuser=admin:password=adminadmin sample_profiler
Created Profiler with id = sample_profiler
Exit Status
subcommand executed successfully
error in executing the subcommand
See Also
| Previous | Next | Contents |
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.