9.5. 受管执行器服务和受管调度执行器服务的运行时统计信息


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

重要

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

Expand
表 9.1. 显示用于监控受管执行器服务和托管调度执行器服务性能的管理 CLI 属性。
属性描述

active-thread-count

主动执行任务的近似线程数量。

completed-task-count

已完成执行的任务约为总数。

hung-thread-count

挂起的 executor 线程数量。

max-thread-count

执行器线程的最大数量.

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

在单机服务器上运行的受管调度执行器服务的运行时统计数据示例。

[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

在映射到主机的服务器上运行的受管计划执行器服务的运行时统计数据示例。

[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

© 2026 Red Hat
返回顶部