fmadm faulty 命令也可显示有关 SMF 服务中的问题的信息,如以下示例中所示:
# fmadm faulty
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
--------------- ------------------------------------ -------------- ---------
May 12 22:52:47 915cb64b-e16b-4f49-efe6-de81ff96fce7 SMF-8000-YX major
Host : parity
Platform : Sun-Fire-V40z Chassis_id : XG051535088
Product_sn : XG051535088
Fault class : defect.sunos.smf.svc.maintenance
Affects : svc:///system/intrd:default
faulted and taken out of service
Problem in : svc:///system/intrd:default
faulted and taken out of service
Description : A service failed - it is restarting too quickly.
Response : The service has been placed into the maintenance state.
Impact : svc:/system/intrd:default is unavailable.
Action : Run 'svcs -xv svc:/system/intrd:default' to determine the
generic reason why the service failed, the location of any
logfiles, and a list of other services impacted. Please refer to
the associated reference document at
http://support.oracle.com/msg/SMF-8000-YX for the latest service procedures
and policies regarding this diagnosis.
按照 fmadm 输出中的 "Action" 部分提供的说明进行操作可显示有关有缺陷设备的信息。
# svcs -xv svc:/system/intrd:default svc:/system/intrd:default (interrupt balancer) State: maintenance since Wed May 12 22:52:47 2010 Reason: Restarting too quickly. See: http://support.oracle.com/msg/SMF-8000-YX See: man -M /usr/share/man -s 1M intrd See: /var/svc/log/system-intrd:default.log Impact: This service is not running.
"See" 行中的参考信息提供有关此问题的更多信息。