Prd computes the highest, lowest, average of the specified file
$ prd example.jp-cpu-user-d.rrd | jq
{
"name": "example.jp-cpu-user-d.rrd",
"max": 2010,
"min": 1566,
"avg": 1790
}
for OSX
$ brew install rrdtool
To install, use go get
:
$ go get -d github.com/pyama86/prd
- Fork (https://github.com/pyama86/prd/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request