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] [-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.2.7.tar.gz (759.2 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.7-py3-none-any.whl (218.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sarcharts-0.2.7.tar.gz
  • Upload date:
  • Size: 759.2 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.7.tar.gz
Algorithm Hash digest
SHA256 518a7a08cb2688ed5468bb30f147c5621414e59fa38cf9d7b6b76c3e109e09b0
MD5 bd5b879637b7a87bd6c1a1c36d51c9c2
BLAKE2b-256 a71de0c3e46bcd69dc10f8e55014b4737ba133bf0bb4bd0ca660d3ed1026b263

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sarcharts-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 218.1 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4313576545a98c994ad3bf14012fde5fccf22db0e8f91f95041d88d4f75767f7
MD5 0700910920b36470d8810e50a66dbd99
BLAKE2b-256 99880ed89018a00e025a1b7ef768d47011c3e01a709fc10cceb01122402af829

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