luci-bwc(记录流量功能)
使用方法如下:
root@openwrt:/# luci-bwc
Usage:
luci-bwc [-t timeout] -i ifname // ifname为接口名字
luci-bwc [-t timeout] -r radiodev
luci-bwc [-t timeout] -c
luci-bwc [-t timeout] -l
例如:
root@openwrt:/# luci-bwc -c
[ 1456286178, 3, 3, 1 ],
[ 1456286179, 3, 3, 1 ],
[ 1456286181, 3, 3, 1 ],
[ 1456286182, 3, 3, 1 ],
[ 1456286183, 3, 3, 1 ],
[ 1456286184, 3, 3, 1 ],
[ 1456286186, 3, 3, 1 ],
[ 1456286187, 3, 3, 1 ],
[ 1456286188, 3, 3, 1 ],
[ 1456286189, 3, 3, 1 ],
[ 1456286191, 3, 3, 1 ]
root@openwrt:/# luci-bwc -i eth0
[ 1456286178, 495862, 4331, 2395004, 3986 ],
[ 1456286179, 497274, 4340, 2395830, 3992 ],
[ 1456286180, 497634, 4346, 2396034, 3996 ],
[ 1456286182, 497934, 4351, 2396592, 4001 ],
[ 1456286183, 498696, 4359, 2396862, 4006 ],
[ 1456286184, 499766, 4367, 2397688, 4012 ],
[ 1456286185, 500348, 4372, 2397850, 4015 ],
[ 1456286187, 500648, 4377, 2398012, 4018 ],
[ 1456286188, 501068, 4384, 2398678, 4025 ],
[ 1456286189, 502480, 4393, 2399162, 4030 ],
[ 1456286190, 502780, 4398, 2399666, 4034 ],
[ 1456286197, 505974, 4432, 2401806, 4059 ],
[ 1456286198, 506736, 4440, 2401968, 4062 ],
[ 1456286200, 507686, 4446, 2402794, 4068 ],
[ 1456286201, 508388, 4453, 2403010, 4072 ],
[ 1456286202, 508868, 4461, 2403280, 4077 ],
[ 1456286203, 509450, 4466, 2403784, 4081 ],
[ 1456286205, 510461, 4473, 2404420, 4087 ],
[ 1456286206, 510761, 4478, 2404924, 4091 ],
[ 1456286207, 511523, 4486, 2405194, 4096 ],
[ 1456286208, 511883, 4492, 2405752, 4101 ],
[ 1456286210, 513175, 4499, 2406236, 4106 ]