pyama86 / prd

Use rrdtool conveniently

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prd

Prd computes the highest, lowest, average of the specified file

Usage

$ prd example.jp-cpu-user-d.rrd | jq
{
 "name": "example.jp-cpu-user-d.rrd",
  "max": 2010,
  "min": 1566,
  "avg": 1790
}

Install

for OSX

$ brew install rrdtool

To install, use go get:

$ go get -d github.com/pyama86/prd

Contribution

  1. Fork (https://github.com/pyama86/prd/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

pyama86

About

Use rrdtool conveniently


Languages

Language:Go 85.8%Language:Makefile 14.2%