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

« ipconfig /flushdns 清除dns cache | Main | 遭遇 sogou 输入法自动更新和替换 ctrl space 快捷键 »

September 18, 2006

RRD CDEF 字节(bytes)变比特(bits)的代码补丁

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2006/09/18/001090.html
http://windtear.net/archives/2006/09/18/001090.html

RRD CDEF 字节(bytes)变比特(bits)的代码补丁

+	'CDEF:input8=input,8,*',
+	'CDEF:output8=output,8,*'

-	"bytes/sec", "--lower-limit", "-1.0", "--upper-limit",
+	"bits/sec", "--lower-limit", "-1.0", "--upper-limit",

-	'AREA:input#00CC00:input ',
-	'GPRINT:input:LAST:%6.2lf %sB/s last',
-	'GPRINT:input:AVERAGE:%6.2lf %sB/s avg',
-	'GPRINT:input:MAX:%6.2lf %sB/s max\n',
-	'LINE1:output#0000CC:output',
-	'GPRINT:output:LAST:%6.2lf %sB/s last',
-	'GPRINT:output:AVERAGE:%6.2lf %sB/s avg',
-	'GPRINT:output:MAX:%6.2lf %sB/s max\n'
+	'AREA:input8#00CC00:input ',
+	'GPRINT:input8:LAST:%6.2lf %sb/s last',
+	'GPRINT:input8:AVERAGE:%6.2lf %sb/s avg',
+	'GPRINT:input8:MAX:%6.2lf %sb/s max\n',
+	'LINE1:output8#0000CC:output',
+	'GPRINT:output8:LAST:%6.2lf %sb/s last',
+	'GPRINT:output8:AVERAGE:%6.2lf %sb/s avg',
+	'GPRINT:output8:MAX:%6.2lf %sb/s max\n'
本blog WWW

Posted by windtear at September 18, 2006 11:49 PM

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