Skip to main content

SarCharts gets sysstat files from provided sarfilespaths

Project description

SarCharts

SarCharts gets sysstat files from provided sarfilespaths and generates dynamic HTML Charts.

Live Demo

Requirements

sadf command is needed to read sar files. Hence sysstat package is required.

Installation

pip install sarcharts

Usage

usage: sarcharts [-h] [-c CONFIGFILE] [-d {D,I,W,E}] [-e EVENTFILE] [-f FROMDATE] [-m METRICFILE] [-o OUTPUTPATH] [-t TODATE] [-q] [sarfilespaths ...]

SarCharts gets "sysstat" files from provided `sarfilespaths` and generates dynamic HTML Charts.

positional arguments:
  sarfilespaths         `sa` file/s to parse. Default: `./sa??`.

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIGFILE, --configfile CONFIGFILE
                        Use alternative config file. Default `~/.sarcharts.cfg`.
  -d {D,I,W,E}, --debug {D,I,W,E}
                        Set debug level. Default `W`.
  -e EVENTFILE, --eventfile EVENTFILE
                        Add events csv file. Header: # date;hostname;eventname;eventdescription
  -f FROMDATE, --fromdate FROMDATE
                        Include metrics/events from this date.
  -m METRICFILE, --metricfile METRICFILE
                        Add metrics csv file. Header: # date;hostname;metricname;metricvalue
  -o OUTPUTPATH, --outputpath OUTPUTPATH
                        Path to put output files. Default `./sarcharts`.
  -t TODATE, --todate TODATE
                        Include metrics/events before this date.
  -q, --quiet           Don't show progress.
Example Chart

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

sarcharts-0.3.4.tar.gz (212.6 kB view details)

Uploaded Source

Built Distribution

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

sarcharts-0.3.4-py3-none-any.whl (218.2 kB view details)

Uploaded Python 3

File details

Details for the file sarcharts-0.3.4.tar.gz.

File metadata

  • Download URL: sarcharts-0.3.4.tar.gz
  • Upload date:
  • Size: 212.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sarcharts-0.3.4.tar.gz
Algorithm Hash digest
SHA256 6314e0b59a8e95c094ebdde2a8d8b2804647f0bdb29a4dd3cf092403e17605e2
MD5 e491727bbd297e0905bab38672b1bdfe
BLAKE2b-256 08d4b99a6ca89e405c29a49155a505be9cd5431d94f40e0d0830503da8be6da0

See more details on using hashes here.

Provenance

The following attestation bundles were made for sarcharts-0.3.4.tar.gz:

Publisher: publish-pypi.yml on pafernanr/sarcharts

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

File details

Details for the file sarcharts-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: sarcharts-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 218.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sarcharts-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 73e2d9e47a10d3172631e043fe73982addc118b54d2ef4fc356b28a621d76c21
MD5 4d710d9dede966d0ffec4155a49a4fc4
BLAKE2b-256 ddcea8e044b98026a9b42ebcc0c35a9e9aaae16c1d31f2e169a83e417ca74ba4

See more details on using hashes here.

Provenance

The following attestation bundles were made for sarcharts-0.3.4-py3-none-any.whl:

Publisher: publish-pypi.yml on pafernanr/sarcharts

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