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.

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] [-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;event_name;event_description
  -f FROMDATE, --fromdate FROMDATE
                        Include metrics from this date.
  -o OUTPUTPATH, --outputpath OUTPUTPATH
                        Path to put output files. Default `./sarcharts`.
  -t TODATE, --todate TODATE
                        Discard metrics after 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.3.tar.gz (319.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.3-py3-none-any.whl (214.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sarcharts-0.2.3.tar.gz
  • Upload date:
  • Size: 319.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.3.tar.gz
Algorithm Hash digest
SHA256 58b16df351ffd10bfb681318f46495f14b2345c9c2af49f620490bb5fdee07ba
MD5 b72ea8b635d42018bb5dce0a8c281ddf
BLAKE2b-256 6f7b28bbad9f431bd5f5d12bbe42e9a9a1f5d531dc17c179337bc6bb0111fc18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sarcharts-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 214.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0476380acff4fdfed6027ee77824c21c9344f5f91fdf755b9769fc56d97e4adf
MD5 2935ed5a9c2da9775f73b29203815d65
BLAKE2b-256 698c3c45d9aed770c2a103a3b9cdfc06c54b64f954cdb0eff591092d4f6b76dd

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