第七十二章 使用 irisstat 实用程序监控 IRIS

简介: 第七十二章 使用 irisstat 实用程序监控 IRIS

第七十二章 使用 irisstat 实用程序监控 IRIS

本主题概述了如何使用 irisstat 实用程序。它旨在作为新用户的介绍和有经验的用户的参考。

irisstat 是与 IRIS 数据平台一起分发的可执行文件。它是系统级问题的诊断工具,包括 IRIS 挂起、网络问题和性能问题。运行时,irisstat 附加到 IRIS 在启动时分配的共享内存段,并以可读格式显示 IRIS 实例的内部结构和表格。共享内存段包含全局缓冲区、锁表、日志缓冲区和各种其他需要可供所有 IRIS 进程访问的内存结构。进程还为自己的变量和堆栈信息维护自己的进程私有内存。 irisstat 的基本仅显示选项对 IRIS 来说是快速且非侵入性的。

运行 irisstat 的基础知识。

如果出现系统问题,irisstat 报告通常是 用来确定问题原因的最重要工具。使用以下指南确保 irisstat 报告包含所有必要的信息:

  • 在事件发生时运行 irisstat
  • 除非 InterSystems 支持人员另有指示,否则使用诊断报告任务或 IRISHung 脚本。
  • 检查 irisstat 报告的内容以确保其有效。

由于 irisstat 是包含在 IRIS 中的单独的可执行文件,因此它在操作系统提示符下在 IRIS 之外运行。因此,运行它的细节取决于操作系统:

  • Windows 上运行 irisstat
  • UNIX® 上运行 irisstat

不带任何选项运行 irisstat 不是一种常见的运行方式,但这样做会生成一个基本报告,相当于使用以下默认选项运行它:

  • -f (global module flags)
  • -p (PID table)
  • -q (semaphores)

Windows 上运行 irisstat

irisstat 可执行文件位于 install-dir\bin 目录中。从以管理员身份运行的 Windows 命令提示符开始,可以按如下方式运行它:

C:\>cd install-dir\bin

C:\install-dir\bin>irisstat

如果从 install-dir\bininstall-dir\mgr 以外的目录运行 irisstat,则必须包含 -s 参数以指定 install-dir\mgr 目录的位置。例如:

C:\Users>\install-dir\bin\irisstat -s\install-dir\mgr

UNIX® 上运行 irisstat

irisstat 可执行文件位于 install-dir/bin 目录中。如果从 install-dir\bininstall-dir\mgr 以外的目录运行 irisstat,则必须包含 -s 参数以指定 install-dir\mgr 目录的位置。

从以根用户身份运行的 UNIX® 命令提示符开始,切换到 install-dir/bin 目录或 install-dir/mgr 目录并运行 irisstat 命令:

bash-3.00$ ./irisstat

IRIS 安装目录中,命令如下:

bash-3.00$ ./bin/irisstat -smgr

还可以通过 iris 命令调用 irisstat,该命令可以从任何目录运行,如以下示例所示:

bash-3.00$ iris stat iris_instance_name

其中 iris_instance_name 是运行 irisstatIRIS 实例的名称。

相关文章
|
1月前
|
监控 Unix Linux
第七十四章 使用 irisstat 实用程序监控 IRIS - 查看 irisstat 输出
第七十四章 使用 irisstat 实用程序监控 IRIS - 查看 irisstat 输出
24 0
|
1月前
|
XML 监控 数据格式
第六十六章 使用 Web 服务监控 IRIS - IRIS 对 WS-Monitoring 的支持概述
第六十六章 使用 Web 服务监控 IRIS - IRIS 对 WS-Monitoring 的支持概述
27 0
|
1月前
|
存储 监控 JavaScript
第七十三章 使用 irisstat 实用程序监控 IRIS - 使用选项运行 irisstat
第七十三章 使用 irisstat 实用程序监控 IRIS - 使用选项运行 irisstat
6 0
|
1月前
|
监控 网络协议 安全
第六十二章 使用 SNMP 监控 IRIS
第六十二章 使用 SNMP 监控 IRIS
23 0
|
1月前
|
监控 程序员 数据库
第六十四章 使用 SNMP 监控 IRIS - 扩展 IRIS MIB
第六十四章 使用 SNMP 监控 IRIS - 扩展 IRIS MIB
25 0
|
1月前
|
消息中间件 Linux 数据库
第五十三章 使用 ^SystemPerformance 监视性能 - InterSystems IRIS Linux 平台性能数据报告
第五十三章 使用 ^SystemPerformance 监视性能 - InterSystems IRIS Linux 平台性能数据报告
26 0
|
1月前
|
消息中间件 数据库 iOS开发
第五十一章 使用 ^SystemPerformance 监视性能 - Apple macOS 平台的 InterSystems IRIS 性能数据报告
第五十一章 使用 ^SystemPerformance 监视性能 - Apple macOS 平台的 InterSystems IRIS 性能数据报告
22 0
|
1月前
|
数据库 Windows
第五十章 使用 ^SystemPerformance 监视性能 - Microsoft Windows 平台的 InterSystems IRIS 性能数据报告
第五十章 使用 ^SystemPerformance 监视性能 - Microsoft Windows 平台的 InterSystems IRIS 性能数据报告
26 0
|
1月前
|
监控 网络协议 Unix
第六十三章 使用 SNMP 监控 IRIS - SNMP 故障排除
第六十三章 使用 SNMP 监控 IRIS - SNMP 故障排除
22 0
|
8月前
Volatility2工具mimiktz脚本
Volatility2工具mimiktz脚本
31 0