Hitachi

Hitachi Application Server V10 Command Reference Guide (For Windows® Systems)


2.12.3 delete-profiler

Removes the profiler element.

Synopsis

asadmin [asadmin-options] delete-profiler [--help]
    [--target target] profiler_name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The delete-profiler subcommand deletes the profiler element in the Java configuration. Only one profiler can exist at a time. If no profiler exists and when you attempt to delete a profiler, an error message appears.

This command is supported in remote mode only.

Precondition

Domain Administration Server (DAS) is running.

Arguments

--help | -?

Displays the help text for the subcommand.

--target target

Specifies the target profiler element which you are deleting.

Type: String

The following values can be specified:

  • server

    Deletes the profiler element for the default server instance server and is the default value.

  • configuration_name

    Deletes the profiler element for the named configuration.

  • cluster_name

    Deletes the profiler element for every server instance in the cluster.

  • instance_name

    Deletes the profiler element for a particular server instance.

Default value: server

profiler_name

Specifies the name of the profiler.

Type: String

The following values can be specified:

  • Name of the profiler

Default value: N/A

Examples

The following example deletes the profiler which exists on server instance instance1.

asadmin delete-profiler --target instance1

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.