2.21.3 list-threadpools
Lists all the thread pools.
Synopsis
asadmin [asadmin-options] list-threadpools [--help] target
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-threadpools subcommand of asadmin lists Java EE Server thread pools. 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 for which you are listing the thread pools.
Type: String
The following values can be specified:
-
server
Lists the thread pools for the default server instance.
-
configuration-name
Lists the thread pools for the named configuration.
-
cluster-name
Lists the thread pools for every instance in the cluster.
-
instance-name
Lists the thread pools for a particular instance.
Default value: server
-
Examples
The following example lists the current thread pools for the default instance server.
asadmin list-threadpools server
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |