fmstat 命令报告故障管理模块的统计信息。您也可以使用此命令查看当前参与故障管理的诊断引擎和代理(包括 network-monitor 模块实用程序)的统计信息。
要查看特定故障管理模块保留的统计信息,请使用以下命令语法:
# fmstat -m module
其中,–m module 指定故障管理模块。
例如,可按以下方法查看 network-monitor 的统计信息:
# fmstat -m network-monitor NAME VALUE DESCRIPTION mtu-mismatch.allocerr 0 memory allocation errors mtu-mismatch.enabled true operating status for mtu-mismatch mtu-mismatch.nprobes 7 number of transmitted ICMP probes mtu-mismatch.procerr 0 errors processing datalinks sysev_drop 0 number of dropped sysevents vlan-mismatch.enabled true operating status for vlan-mismatch
有关使用 fmstat 命令的更多信息,请参见 fmstat(1M) 手册页。
要获取参与故障管理的模块的列表,请使用 fmadm 命令。请参见 fmadm(1M) 手册页。