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.2.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.2-py3-none-any.whl (218.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sarcharts-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 30e8670cdbad5f6a2431a177c1f4daaeaf837e56a30d3665058db9cbc3e60539
MD5 bc66b905342430cff6fd1dcda6d92526
BLAKE2b-256 f2432538735a379af074ab9c2f163a2e574ca003bdab21e0e2e4febe3814031a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sarcharts-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 024db9f116e0eda946a165d82afbc1c830fc36158427702a1dd7b8ffb6728e6f
MD5 e7e1f8648eb3acab977ac1c3b734fe85
BLAKE2b-256 cf0d9c2797bba8c604351bd8a0d3337564d194977a26c1da2e3d37fd39cbfd16

See more details on using hashes here.

Provenance

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