dreport will replace ffdc tool starting from Feb-2018.

Jayanth Othayoth ojayanth at gmail.com
Thu Dec 14 20:23:32 AEDT 2017


Starting feb-2018 ffdc tool will be removed from openbmc builds. dreport
will replace ffdc tool with support for additional features.  dreport is
already available in openbmc builds.

Users of ffdc tool must plan to migrate to dreport.

dreport is  a drop-in replacement for ffdc.  ie run dreport instead of
ffdc.

Usage info is as follows.

        dreport creates an archive(xz compressed) consisting of the
following:
                * Configuration information
                * Debug information
                * A summary report
        The type parameter controls the content of the data. The generated
        archive is stored in the user specified location.

usage: dreport [OPTION]

Options:
        -n, —-name <name>     Name to be used for the archive.
                              Default name format obmcdump_<id>_<epochtime>
        -d, —-dir <directory> Archive directory to copy the compressed
report.
                              Default output directory is /tmp
        -i, —-id <id>         Dump identifier to associate with the archive.
                              Identifiers include numeric characters.
                              Default dump identifier is 0
        -t, —-type <type>     Data collection type. Valid types are
                              user, core, elog.
                              Default type is user initiated.
        -p, —-path <path>     Optional contents to be included in the
archive.
                              Valid paths are absolute file path or d-bus
path
                              based on type parameter.
                                 -Absolute file path for core type.
                                 -elog d-bus object for elog type.
        -s, --size <size>     Maximum allowed size(in KB) of the archive.
                              Report will be truncated in case size exceeds
                              this limit. Default size is unlimited.
        -v, —-verbose         Increase logging verbosity.
        -V, --version         Output version information.
        -q, —-quiet           Only log fatal errors to stderr
        -h, —-help            Display this help and exit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20171214/758844b0/attachment.html>


More information about the openbmc mailing list