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/Command-output is missing on sosreport2.
  • [%] File/Command-output is missing/different on sosreport2. Optionally show files diff.
  • [+] 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.

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] [-d] [-e PluginName] [-i PluginName] [-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
  -d, --diff            Show `diff` when file content don't match.
  -e PluginName, --exclude PluginName
                        Exclude this PluginName. Can be used multiple times.
  -i PluginName, --include PluginName
                        Include only this PluginName. 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.2.1.tar.gz (18.7 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.2.1-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sosdiff-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b67e9d05a2cc42a9a834bd23d8b86991c1d7d5e042ce7ac39d567ba95ff17a7e
MD5 c8448da999ee35e1468022b4861d007a
BLAKE2b-256 318b853a11150d0be56ac26e3d5a10b725ce326f78044d56358d888e01d05d11

See more details on using hashes here.

Provenance

The following attestation bundles were made for sosdiff-0.2.1.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: sosdiff-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 19.6 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 070549e9e9063c68cb90c86313626fc1fe7a00dd19b4c5e45cf3bd6cd4f43dc1
MD5 ac07c1e5b608bfe1ec257c9234a08d55
BLAKE2b-256 aca02c0c84466adb04b4bb6d830be8103195d1def2016d9f8dbc660017883330

See more details on using hashes here.

Provenance

The following attestation bundles were made for sosdiff-0.2.1-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