2.8.12 list-timers
Lists all the persistent timers owned by the server instance(s).
Synopsis
asadmin [asadmin-options] list-timers [--help] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-timers subcommand of asadmin lists the persistent timers owned by a specific server instance or a cluster of server instances. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- target
-
Specifies the target either as a standalone server instance or a cluster. If the target is a stand-alone instance, then the number of timers owned by the instance is listed. If the target is a cluster, then the number of timers owned by each instance in the cluster is listed.
Type: String
The following values can be specified:
-
server
-
cluster_name
-
standalone_instance_name
Default value: server
-
Examples
The following example lists persistent timers in a particular standalone server instance.
asadmin list-timers server
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |