The following is a Japanese translation of the manpage about the sosreport command included in the sos package provided by Redhat OS, and is created based on the English version of the manpage of sos-3.3-5.el7.centos.noarch
. ..
Please point out any translation errors.
The sos package is provided under GPLv2. Reprinting and reprinting is free, but please note that this article will also be GPLv2 compliant.
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]
[-s|--sysroot SYSROOT]
[-c|--chroot {auto|always|never}
[--tmp-dir directory]
[-p|--profile profile-name]
[--list-profiles]
[--verify]
[--log-size]
[--all-logs]
[-z|--compression-type method]
[--experimental]
[-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.
sosreport generates an archive of configuration and diagnostic information from a running system. Archives can be stored locally or centrally for recording or tracking
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.
Sos has a modular design that allows you to collect data from a variety of installable subsystems and packages. Arbitrarily generate an XML or HTML report that summarizes the collected information and store it in the archive.
OPTIONS
-l, --list-plugins
Lists all available plugins and their options. Plugins that are not enabled in the current configuration are displayed separately.List all available plugins and their options. Plug-ins that would not be enabled by the current configuration are listed separately.
-n, --skip-plugins PLUGNAME[,PLUGNAME]
Disables the specified plug-in. Multiple plugins can be specified by repeating the options or separating them with commas.Disable the specified plugin(s). Multiple plug-ins may be specified by repeating the option or as a comma-separated list.
-e, --enable-plugins PLUGNAME[,PLUGNAME]
Enables the specified plugin. Multiple plugins can be specified by repeating the options or separating them with commas.Enable the specified plugin(s). Multiple plug-ins may be specified by repeating the option or as a comma-separated list.
-o, --only-plugins PLUGNAME[,PLUGNAME]
Enables only the specified plugins (all other plugins must be disabled). Multiple plugins can be specified by repeating the options or separating them with commas.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.
-k PLUGNAME.PLUGOPT[=VALUE], --plugin-option=PLUGNAME.PLUGOPT[=VALUE]
Specify plug-in options. Enable the option "PLUGOPT" or set the plugin "PLUGNAME" to the specified value.Specify plug-in options. The option PLUGOPT is enabled, or set to the specified value in the plug-in PLUGNAME.
-a, --alloptions
Set all options to True for all valid plugins.Set all boolean options to True for all enabled plug-ins.
-v, --verbose
Log in more detail. It can be specified multiple times to enable additional debug messages.Increase logging verbosity. May be specified multiple times to enable additional debugging messages.
-q, --quiet
Only fatal errors are output to standard error.Only log fatal errors to stderr.
--no-report
Disables HTML / XML format outputDisable HTML/XML report writing.
--config-file CONFIG
Specify additional configuration filesSpecify alternate configuration file.
-s, --sysroot SYSROOT
Add an additional root file system. Useful when collecting reports on containers and imagesSpecify an alternate root file system path. Useful for collecting reports from containers and images.
-c, --chroot {auto|always|never}
Set the chroot mode. When --sysroot is used, the command runs SYSROOT as the root directory by default (unless disabled by a particular plugin). This can be overridden by setting --chroot to "always" (alwyas chroot) or "never" (always running in the host namespace).Set the chroot mode. When --sysroot is used commands default to executing with SYSROOT as the root directory (unless disabled by a specific plugin). This can be overriden by setting --chroot to "always" (alwyas chroot) or "never" (always run in the host namespace).
--tmp-dir DIRECTORY
Specifies an additional temporary directory to copy the data to, as well as a compressed report.Specify alternate temporary directory to copy data as well as the compressed report.
--list-profiles
Shows a list of available profiles and the plugins they have enabled.Display a list of available profiles and the plugins that they enable.
-p, --profile NAME
Only run plugins that correspond to the specified profile. Multiple profiles can be specified as a comma separated list. The set of plugins to be executed is the union of the plugin sets for each profile. Currently defined profiles include boot, cluster, desktop, debug, hardware, identity, network, openstack, packagemanager, security, services, storage, sysmgmt, system, performance, virt, and webserver.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.
--verify
Instructs the plug-in to perform plug-in-specific validation during data collection. This includes package manager validation, log integrity testing, or other plugin definition behavior. Using --verify can take a significant amount of time to generate a report.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.
--log-size
Set a global limit on the size of the log set to collect.
This limit applies individually for each log collected by all plugins.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.
--all-logs
Instructs the plugin to ignore all size limits and collect all possible log data, including logs in non-default locations. Using this option can significantly increase the size of your report.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.
-z, --compression-type METHOD
Overrides the default compression type specified in the active policy.Override the default compression type specified by the active policy.
--batch
Generates an archive without prompting for interactive input.Generate archive without prompting for interactive input.
--name NAME
Specifies the name to use for archiving.Specify a name to be used for the archive.
--case-id NUMBER
Specifies the case identifier associated with the archive. The identifier can contain alphanumeric characters, commas and periods ('.'). Synonymous with --ticket-number.Specify a case identifier to associate with the archive. Identifiers may include alphanumeric characters, commas and periods ('.'). Synonymous with --ticket-number.
--ticket-number NUMBER
Specifies the ticket number or other identifier associated with the archive. The identifier can contain alphanumeric characters, commas and periods ('.'). Synonymous with -case-id.Specify a ticket number or other identifier to associate with the archive. Identifiers may include alphanumeric characters, commas and periods ('.'). Synonymous with --case-id.
--build
Do not archive the copied data. This causes sosreport to leave the uncompressed archive as a temporary file or directory tree.Do not archive copied data. Causes sosreport to leave an uncompressed archive as a temporary file or directory tree.
--debug
Use the Python debugger to enable interactive debugging. Exceptions in sos or plugin code will cause traps in the pdb shell.Enable interactive debugging using the python debugger. Exceptions in sos or plug-in code will cause a trap to the pdb shell.
--experimental
Enable plugins marked as experimental. Experimental plugins may not have been tested on this port or may still be under development.Enable plugins marked as experimental. Experimental plugins may not have been tested for this port or may still be under active development.
--help
display usage method.Display usage message.
We would like to thank the authors of the sosreport and the authors of the English manpage.
Recommended Posts