proxy代理   soft软件   IT 业界特快   norton 诺顿病毒库   代理列表   search FTP搜索   whois IP地理位置   blog 追求完美  
money理财   life生活   RSS聚合门户   firefox WEB浏览器   免费域名   typeset 假古文   AntiVirus 反病毒   ipcn 站点导航  

« IPCN proxy 调整 ipcn norton virusdb 调整 | Main | [IPCN] proxy 暂时失效 »

September 27, 2004

RRD - 很有个性的超强"数据库"

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2004/09/27/000389.html
RRD  - 很有个性的超强"数据库"

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
自动跳转到
http://oss.oetiker.ch/rrdtool/

在《今天批一下 Cricket (01)》中曾提到
"
总算 Cricket 还没站错队
MRTG 的作者 Tobi Oetiker 倾情演绎的 RRDTool 自然有其超级奥妙
Cricket 自己也说 没有 RRD 的支持 Cricket 就是一堆垃圾
"

rrdtool 是 MRTG 的作者Tobias Oetiker同学的又一重要贡献
rrd 代表 Round Robin Database
是一个很有个性的数据库 不增大

DS 和 RRA 共同构成了数据部分
DS:var:DST:heartbeat:min:max
RRA:x:CF:w:step:row

rrdtool 本身提供创建、更新、作图等全系列的接口
Valid commands: create, update, graph, dump, restore,
                last, info, fetch, tune, resize, xport

rrdtool 的重要意义在于简化了绘图和对历史数据的处理

DS 部分 DST 主要有4个
        Values       = 300, 600, 900, 1200
        Step         = 300 seconds
        COUNTER DS   =    1,  1,   1,    1
        DERIVE DS    =    1,  1,   1,    1
        ABSOLUTE DS  =    1,  2,   3,    4
        GAUGE DS     = 300, 600, 900, 1200

RRA 部分的 CF 也是四个
AVERAGE, MINIMUM, MAXIMUM, and LAST

perl 的 module 也可以轻松调用
通过 bash perl 等做自己的脚本可以轻松的做出自己想要的东西

rrdtool  the Great! 
本blog WWW

Posted by windtear at September 27, 2004 9:42 PM

本站使用中的任何问题,请与 windtear @ windtear.net 联系
Copyright© 1999-2024 Windtear. All rights reserved.