rrdtool 勉強
- http://www.photonway.net/Rrdtool-Tutorial-jp.html
- http://www.itmedia.co.jp/enterprise/articles/0705/30/news022_2.html
cliな操作方法。
$ rrdtool -h Usage: rrdtool [options] command command_options Valid commands: create, update, updatev, graph, graphv, dump, restore, last, lastupdate, first, info, fetch, tune, resize, xport
dump
dump an RRD to XML
データ型
GAUGE その時刻の瞬間値を示す。時刻との関連性がない
COUNTER 統計値。時刻が増えれば値は増え、減ることはない。例えば送受信パケット数などを示すのに用いる。グラフ化するときに、前回との差分の平均値をとることができる
DERIVE COUNTERと同じだが、値が減ることもある
ABSOLUTE COUNTERと同じだが、0リセットされる可能性があるものを示す
COMPUTE 引数に逆ポーランド法による数式を記述し、任意の計算値を示す。やや複雑なので本稿での解説は割愛する
CFタイプ
AVERAGE 平均
MIN 最小
MAX 最大
LAST 最新値