Scroll to navigation

SOSREPORT(1) General Commands Manual SOSREPORT(1)

NAME

sosreport - Collect and package diagnostic and support data

SYNOPSIS

sosreport
[-l|--list-plugins]
[-n|--skip-plugins plugin-names]
[-e|--enable-plugins plugin-names]
[-o|--only-plugins plugin-names]
[-a|--alloptions] [-v|--verbose]
[-k plug.opt|--plugin-option plug.opt]
[--no-report] [--config-file conf]
[--batch] [--build] [--debug]
[--name name] [--case-id id] [--ticket-number nr]
[--tmp-dir directory]
[-p|--profile profile-name]
[--list-profiles]
[--verify]
[--log-size]
[--all-logs]
[-z|--compression-type method]
[-h|--help]

DESCRIPTION

sosreport generates an archive of configuration and diagnostic information from the running system. The archive may be stored locally or centrally for recording or tracking purposes or may be sent to technical support representatives, developers or system administrators to assist with technical fault-finding and debugging.

Sos is modular in design and is able to collect data from a wide range of subsystems and packages that may be installed. An XML or HTML report summarizing the collected information is optionally generated and stored within the archive.

OPTIONS

List all available plugins and their options. Plug-ins that would not be enabled by the current configuration are listed separately.
Disable the specified plugin(s). Multiple plug-ins may be specified by repeating the option or as a comma-separated list.
Enable the specified plugin(s). Multiple plug-ins may be specified by repeating the option or as a comma-separated list.
Enable the specified plugin(s) only (all other plugins should be disabled). Multiple plugins may be specified by repeating the option or as a comma-separated list.
Specify plug-in options. The option PLUGOPT is enabled, or set to the specified value in the plug-in PLUGNAME.
Set all boolean options to True for all enabled plug-ins.
Increase logging verbosity. May be specified multiple times to enable additional debugging messages.
Only log fatal errors to stderr.
Disable HTML/XML report writing.
Specify alternate configuration file.
Specify alternate temporary directory to copy data as well as the compressed report.
Display a list of available profiles and the plugins that they enable.
Only run plugins that correspond to the given profile. Multple profiles may be specified as a comma-separated list; the set of plugins executed is the union of each of the profile's plugin sets. Currently defined profiles include: boot, cluster, desktop, debug, hardware, identity, network, openstack, packagemanager, security, services, storage, sysmgmt, system, performance, virt, and webserver.
Instructs plugins to perform plugin-specific verification during data collection. This may include package manager verification, log integrity testing or other plugin defined behaviour. Use of --verify may cause the time taken to generate a report to be considerably longer.
Places a global limit on the size of any collected set of logs. The limit is applied separately for each set of logs collected by any plugin.
Tell plugins to collect all possible log data ignoring any size limits and including logs in non-default locations. This option may significantly increase the size of reports.
Override the default compression type specified by the active policy.
Generate archive without prompting for interactive input.
Specify a name to be used for the archive.
Specify a case identifier to associate with the archive. Identifiers may include alphanumeric characters, commas and periods ('.'). Synonymous with --ticket-number.
Specify a ticket number or other identifier to associate with the archive. Identifiers may include alphanumeric characters, commas and periods ('.'). Synonymous with --case-id.
Do not archive copied data. Causes sosreport to leave an uncompressed archive as a temporary file or directory tree.
Enable interactive debugging using the python debugger. Exceptions in sos or plug-in code will cause a trap to the pdb shell.
Display usage message.

MAINTAINER

Bryn M. Reeves <bmr@redhat.com>

AUTHORS & CONTRIBUTORS

See AUTHORS file in /usr/share/doc/sosreport.

TRANSLATIONS

Translations are handled by transifex (https://fedorahosted.org/transifex/)

Mon Mar 25 2013