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.4.tar.gz (319.4 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.4-py3-none-any.whl (214.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sarcharts-0.2.4.tar.gz
  • Upload date:
  • Size: 319.4 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.4.tar.gz
Algorithm Hash digest
SHA256 644bfda186e8c47e09ac1cbbf0440551d1ebf3a77c6ff44a2e8dc92681d56f2a
MD5 cc2af9b3e59263c07292cbdc8c0b8277
BLAKE2b-256 42b2f3fdedf4222dcfb9d613a5d83ef90eac398efad23edc74653dcc02be6eeb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sarcharts-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 214.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4f6a4cae32694bd9c1c19aba0fdaa8c20f000a1cffe17d9c101500a0fd9b38eb
MD5 c0476ead3f2f80b0135455f058c8d453
BLAKE2b-256 7dcdace063e4640cfa740aed3eb6316d04dd4669e23e2fc6ac8f957c7786231b

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