Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sarcharts

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sarcharts

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

  • 0.2.8
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc