Skip to main content

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

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] [-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
  -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.2.6.tar.gz (625.3 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.2.6-py3-none-any.whl (215.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sarcharts-0.2.6.tar.gz
  • Upload date:
  • Size: 625.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for sarcharts-0.2.6.tar.gz
Algorithm Hash digest
SHA256 5aefe3bbc55725fa3c34662bb418310aa115cfcc008a7de41a2a67471dbeaaeb
MD5 9760c43ac50fa82a4b5b4204e852b3f3
BLAKE2b-256 7e5f730c0e53db75a1847450a9ca4f6557cacdc3681bf33b37cb0331481615d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sarcharts-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 215.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for sarcharts-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 441c5cf1fa8a401ae98250627d5343fdfc19b4bd2cf47a89f52bec4a501f1ba0
MD5 0c6ed8e55409cd8550b94f827aa8e300
BLAKE2b-256 ab7a1af8ffdbe18cac41bf9af22882624fba7ab8f8e8cc0c890d0b4ea7ea35b4

See more details on using hashes here.

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