list-threadpools

lists all the thread pools

Synopsis

list-threadpools [--help] target

Description

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

This subcommand is supported in remote mode only.

Options

--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 GlassFish 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

create-threadpool(1), delete-threadpool(1)

asadmin(1M)