list-threadpools

Lists all the thread pools.

Synopsis

asadmin [asadmin-options] list-threadpools [--help]
target

Description

The list-threadpools subcommand lists the Payara Server thread pools.

This subcommand is supported in remote mode only.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

Operands

target

This operand specifies the target for which you are listing thread pools. This operand is required.
Valid values are as follows:

server

Lists the thread pools for the default Payara Server instance server.

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.

Examples

Example 1 Listing Thread Pools

This example lists the current thread pools for the default instance server.

asadmin> list-threadpools server
admin-thread-pool
http-thread-pool
thread-pool-1
Command list-threadpools executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also