asadmin [asadmin-options] list-timers [--help]
[target]
list-timers DRAFT |
Previous | Next | Contents |
lists all of the persistent timers owned by server instance(s)
Synopsis
asadmin [asadmin-options] list-timers [--help]
[target]
Description
The list-timers
subcommand lists the persistent timers owned by a
specific server instance or a cluster of server instances. This command
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.
Operands
The target is either a standalone server instance or a cluster. If the
target is the 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. The default
target is server
, the default server instance.
Examples
Example 1 Listing Current Timers in a Server Instance
This example lists persistent timers in a particular standalone server instance. There is one currently active timer set.
asadmin> list-timers server
1
The list-timers command was executed successfully.
Exit Status
command executed successfully
error in executing the command
See Also
"http://docs.oracle.com/javaee/7/tutorial/doc/ejb-basicexamples.html[Using the Timer Service]" in The Java EE 8 Tutorial
"EJB Timer Service" in GlassFish Server Open Source Edition Application Development Guide
Previous | Next | Contents |
DRAFT