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.1.tar.gz (212.5 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.1-py3-none-any.whl (218.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sarcharts-0.3.1.tar.gz
  • Upload date:
  • Size: 212.5 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.1.tar.gz
Algorithm Hash digest
SHA256 c8a37f242375ac165bad72264c0f7636f96c6b6fd6d148facb79f0eef9c6d2a0
MD5 c0e1ec16a0d36f63d9f1aa28c7ba365e
BLAKE2b-256 d43e87f0e089c6315e4419a03a2d00836243f24e6664820f8aec6378e1172f72

See more details on using hashes here.

Provenance

The following attestation bundles were made for sarcharts-0.3.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: sarcharts-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 218.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5c5b59b1ea2a4e569c5266ac9a4b7a2100459c1c923571691d5afdf87589626
MD5 9d8df11e2c513192e2b83d5ad499dbc0
BLAKE2b-256 506b2e3597d44669f4ec8bc04dd3dae050b31dd8d86e11ef30e9bc53c7e36435

See more details on using hashes here.

Provenance

The following attestation bundles were made for sarcharts-0.3.1-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