以 PDF 格式下载本书 (9688 KB)
fmdump(1M)Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Files | Attributes | See Also | Notes Name
Synopsis
fmdump [-efmvV] [-c class] [-R dir] [-t time] [-T time]
[-u uid] [-n name[.name]*[=value]] [file]
Description
The fmdump utility can be used to display the contents of any of the log files associated with the Solaris Fault Manager, fmd(1M). The Fault Manager runs in the background on each Solaris system. It receives telemetry information relating to problems detected by the system software, diagnoses these problems, and initiates proactive self-healing activities such as disabling faulty components. The Fault Manager maintains two sets of log files for use by administrators and service personnel: By default, fmdump displays the contents of the fault log, which records the result of each diagnosis made by the fault manager or one of its component modules. An example of a default fmdump display follows:
Each problem recorded in the fault log is identified by: If a problem requires action by a human administrator or service technician or affects system behavior, the Fault Manager also issues a human-readable message to syslogd(1M). This message provides a summary of the problem and a reference to the knowledge article on the Sun web site, http://www.sun.com/msg/. You can use the -v and -V options to expand the display from a single-line summary to increased levels of detail for each event recorded in the log. The -c, -t, -T, and -u options can be used to filter the output by selecting only those events that match the specified class, range of times, or uuid. If more than one filter option is present on the command-line, the options combine to display only those events that are selected by the logical AND of the options. If more than one instance of the same filter option is present on the command-line, the like options combine to display any events selected by the logical OR of the options. For example, the command:
selects events whose attributes are (uuid1 OR uuid2) AND (time on or after 02Dec03). Options
The following options are supported: Operands
The following operands are supported: ExamplesExample 1 Retrieving Given Class from fmd LogUse any of the following commands to retrieve information about a specified class from the fmd log. The complete class name is ereport.io.ddi.context.
Any of the preceding commands produces the following output:
Example 2 Retrieving Specific Detector Device Path from fmd LogThe following command retrieves a detector device path from the fmd log.
Exit Status
The following exit values are returned: Files
AttributesSee attributes(5) for descriptions of the following attributes:
The command-line options are Evolving. The human-readable error log output is Private. The human-readable fault log output is Evolving. See Alsosh(1), fmadm(1M), fmd(1M), fmstat(1M), syslogd(1M), libexacct(3LIB), attributes(5), regex(5) NotesFault logs contain references to records stored in error logs that can be displayed using fmdump -V to understand the errors that were used in the diagnosis of a particular fault. These links are preserved if an error log is renamed as part of log rotation. They can be broken by removing an error log file, or by moving it to another filesystem directory. fmdump can not display error information for such broken links. It continues to display any and all information present in the fault log. Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Files | Attributes | See Also | Notes |
|||||||||||||