Configures the specifics of the Healthcheck stuck threads performance metric service.

This command is deprecated and will be removed in a future release as it has been replaced by the set-healthcheck-service-configuration command.


asadmin [asadmin-options] healthcheck-stuckthreads-configure
[--target target]


Configures the Stuck Thread checker.

The Stuck Threads checker is comparable to the request tracing service, in that it is triggered by exceeding a configured threshold. but in this case it reports on all threads that, when the healthcheck runs, have taken longer than the threshold time.



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


Displays the help text for the subcommand.


This option helps specify the target on which you are configuring the stuck threads checker service. Valid values are:


Applies to the default server instance. This is the default value.


Applies to every server instance in the cluster.


Applies to a specified server instance.


Defaults to false. Enables or disables the healthcheck service


Defaults to false. When set to true, applies the changes without a server restart.


Unused option.


Unused option.


Defaults to 1. The amount of time units that the service will use to periodically monitor the metric.


Defaults to MINUTES. The time unit to set the frequency of the metric monitoring.

Must correspond to a valid java.util.concurrent.TimeUnit

The threshold above which a thread is considered stuck. Must be 1 or greater.


The unit for the threshold for when a thread should be considered stuck.

Must correspond to a valid java.util.concurrent.TimeUnit


Example 1 Identifying stuck threads

The following example configures the stuck threads checker to check every 30 seconds for any threads which have been stuck for more than 5 minutes and applies the configuration change without needing a restart:

asadmin healthcheck-stuckthreads-configure --enabled=true --dynamic=true --time=30 --unit=SECONDS --threshold=5 --thresholdUnit=MINUTES

Exit Status


subcommand executed successfully


error in executing the subcommand

See Also