3.5. 受管 executor 服务以及受管调度的 executor 服务的运行时统计信息


您可以通过查看管理 CLI 属性生成的运行时统计信息来监控受管 executor 服务的性能和管理的 executor 服务。您可以查看独立服务器的运行时统计信息,或查看映射到主机的单个服务器。

重要

domain.xml 配置不包括运行时统计管理 CLI 属性的资源,因此您无法使用管理 CLI 属性来查看受管域的运行时统计信息。

Expand
表 3.1. 显示管理 CLI 属性,用于监控受管 executor 服务以及受管调度的 executor 服务的性能。
属性描述

active-thread-count

主动执行任务的大约线程数量。

completed-task-count

完成执行的任务大约总数。

hung-thread-count

挂起的 executor 线程数量。

max-thread-count

executor 线程的最大数量。

current-queue-size

executor 任务队列的当前大小。

task-count

已提交用于执行的任务大约总数。

thread-count

当前执行者线程数量。

查看在独立服务器上运行的受管 executor 服务的运行时统计信息示例。

[standalone@localhost:9990 /] /subsystem=ee/managed-executor-service=default:read-resource(include-runtime=true,recursive=true)
Copy to Clipboard Toggle word wrap

在独立服务器上运行的受管调度的 executor 服务的运行时统计信息示例。

[standalone@localhost:9990 /] /subsystem=ee/managed-scheduled-executor-service=default:read-resource(include-runtime=true,recursive=true)
Copy to Clipboard Toggle word wrap

查看映射到主机的服务器上运行的受管 executor 服务的运行时统计信息示例。

[domain@localhost:9990 /] /host=<host_name>/server=<server_name>/subsystem=ee/managed-executor-service=default:read-resource(include-runtime=true,recursive=true)
Copy to Clipboard Toggle word wrap

在映射到主机的服务器上运行的受管调度的 executor 服务的运行时统计信息示例。

[domain@localhost:9990 /] /host=<host_name>/server=<server_name>/subsystem=ee/managed-scheduled-executor-service=default:read-resource(include-runtime=true,recursive=true)
Copy to Clipboard Toggle word wrap

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat