JMX 的有趣指标

发布于 2024-08-27 16:52:14 字数 105 浏览 5 评论 0原文

我想知道应用程序开发人员通常对使用 JMX 感兴趣的典型指标有哪些,除了:

  • CPU 利用率
  • 内存消耗

Nicholas

May I know what are the typical metrics that application developers usually find interesting with the use of JMX other than:

  • CPU Utilization
  • Memory consumption

Nicholas

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

ゞ记忆︶ㄣ 2024-09-03 16:52:14

我要添加:

  • 类加载器行为
  • 线程

I would add:

  • Class loaders behaviour
  • Threads
屋檐 2024-09-03 16:52:14
  • 内存使用图(您可以看到 gc 运行并检测内存泄漏)
  • 指定线程的堆栈跟踪
  • jvm 正常运行时间、操作系统信息
  • 所有 jmx 与您的应用程序公开的数据
  • memory usage diagram (you can see gc runs and detect memory leaks)
  • stack trace of specified thread
  • jvm uptime, OS information
  • all jmx exposed data with your application
情愿 2024-09-03 16:52:14
  • 垃圾收集器活动(持续时间和频率)
  • 死锁检测
  • 连接器流量(输入/输出)
  • 请求处理时间
  • 会话数量(与最大配置相关)
  • 平均会话持续时间
  • 被拒绝的会话数量
  • Web 模块是否正在运行?
  • 正常运行时间(如果少于 5 分钟,则有人重新启动 JVM)
  • 相对于最大连接器线程数。可用的连接器线程
  • 数据源池:使用情况(相对)、租用时间
  • JMS:队列大小、DLQ 大小

另请参阅 Jmx4Perl 的预定义 Nagios 检查以获取更多指标......

  • Garbage Collector Activity (duration and frequency)
  • Deadlock Detection
  • Connector Traffic (in / out)
  • Request processing time
  • Number of sessions (in relation to max configured)
  • Average Session duration
  • Number of sessions rejected
  • Is Webmodule running ?
  • Uptime (if less than 5 minutes, then someone restarted the JVM)
  • Connector threads relative to the max. available connector threads
  • Datasource Pools: Usage (relative), Lease time
  • JMS: Queue size, DLQ size

See also Jmx4Perl's predefined Nagios Check for further metrics ....

内心荒芜 2024-09-03 16:52:14

JMX 可用于支持任何 MXbeans 指标。
请参阅 Java 文档 - http://docs.oracle .com/javase/7/docs/api/java/lang/management/ManagementFactory.html
方法摘要部分。

JMX can be used to support any of the MXbeans metrics.
Refer Java Documentation - http://docs.oracle.com/javase/7/docs/api/java/lang/management/ManagementFactory.html
section Method Summary.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文