Skip to main content

Compare two sosreports and show the differences.

Project description

sosdiff

Compare two sosreport and show the differences.

  • To compare them sosdiff reads the file sos_reports/sos.json and lists the differences:
    • [-] Plugin is missing on sosreport2.
    • [--] Entity is missing on sosreport2.
    • [---] File is missing on sosreport2.
    • [/] File content is different. Optionally show diff command output.
    • [+] Plugin is present on sosreport2 but it isn't on sosreport1.
    • [++] Entity is present on sosreport2 but it isn't on sosreport1.
    • [+++] File is present on sosreport2 but it isn't on sosreport1.
  • Some files are automatically exluded to avoid "Too many levels of symbolic links" errors.
  • Custom excluded files can be added to configuration file at ~/.sosdiff/configuration.yaml.

Installation

There are multiple ways to to install sosdiff.

  • Using pip.

    pip install sosdiff
    
  • Using the prebuild packages at Latest Release

Usage

usage: sosdiff [-h] [-c <config_file>] [-d] [-n SKIP_PLUGINS] [-o ONLY_PLUGINS] [-t] sospath1 sospath2

Compare two sosreports and show the differences.

positional arguments:
  sospath1              Path to first sosreport folder.
  sospath2              Path to second sosreport folder.

options:
  -h, --help            show this help message and exit
  -c <config_file>, --configuration <config_file>
                        Configuration file. Defaults to `/home/pablofr/.sosdiff/configuration.ini`
  -d, --diff            Show `diff` when file content don't match.
  -n SKIP_PLUGINS, --skip-plugins SKIP_PLUGINS
                        disable these plugins. Can be used multiple times.
  -o ONLY_PLUGINS, --only-plugins ONLY_PLUGINS
                        enable these plugins only. Can be used multiple times.
  -t, --text            Print plain text without colors.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sosdiff-0.4.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sosdiff-0.4.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file sosdiff-0.4.0.tar.gz.

File metadata

  • Download URL: sosdiff-0.4.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sosdiff-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c6ed4dc9374baf3e0f953ede1c6fc5bd4ceedcc0a200d26349625b76a4370793
MD5 f8f89d5436dda4f390e139d35a761cdd
BLAKE2b-256 a9728434670cf2d56806ef104f7a60965ede389970c5a8c59599160cb882b970

See more details on using hashes here.

Provenance

The following attestation bundles were made for sosdiff-0.4.0.tar.gz:

Publisher: publish-pypi.yml on pafernanr/sosdiff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sosdiff-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: sosdiff-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sosdiff-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed5b0c28c8c7ced926cba6462d682a503f505c87209cdba68c2968047594acfa
MD5 a86e5cf0c7542b11ae80567671848075
BLAKE2b-256 1b36834a33cb4cda76f33f5f22cdfb77fed641a3c600e22e8537cc3ee9ac79b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for sosdiff-0.4.0-py3-none-any.whl:

Publisher: publish-pypi.yml on pafernanr/sosdiff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page