hardware:gl-ar750s-ext:real-time_statistics

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
hardware:gl-ar750s-ext:real-time_statistics [2020/02/21 15:30] ともやんhardware:gl-ar750s-ext:real-time_statistics [2020/09/15 10:40] (現在) – [参考文献] ともやん
行 1: 行 1:
-<html> 
-  <style> 
-    #result pre { 
-      height: 300px; 
-      overflow: scroll; 
-      overflow-x: hidden; 
-      font-size: 12px; 
-    } 
-  </style> 
-</html> 
 ====== luci-app-statistics - リアルタイム統計 ====== ====== luci-app-statistics - リアルタイム統計 ======
 <code> <code>
 # opkg update && opkg install luci-app-statistics # opkg update && opkg install luci-app-statistics
 </code> </code>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% #result_long>
 <code> <code>
 Downloading https://fw.gl-inet.com/releases/kmod-3.2/ar71xx/nand/Packages.gz Downloading https://fw.gl-inet.com/releases/kmod-3.2/ar71xx/nand/Packages.gz
行 72: 行 62:
 # opkg list | grep collectd-mod # opkg list | grep collectd-mod
 </code> </code>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% #result_long>
 <code> <code>
 collectd-mod-apache - 5.8.0-5 - apache status input plugin collectd-mod-apache - 5.8.0-5 - apache status input plugin
行 171: 行 161:
 # mount --bind /mnt/sd128gb/tmp/rrd /tmp/rrd # mount --bind /mnt/sd128gb/tmp/rrd /tmp/rrd
 </code> </code>
 +
 +ローカルスタートアップ スクリプトに **mount** 設定を記述しておく。(再起動時にも有効になるように...)\\
 +<WRAP prewrap 100%>
 +<code>
 +# vi /etc/rc.local
 +</code>
 +</WRAP>
 +<WRAP prewrap 100% #mincode>
 +<code bash /etc/rc.local>
 +...
 +killall uqmi
 +
 +traffic=`uci get glconfig.switch.enable 2>/dev/null`
 +if [ "$traffic" == "1" ];then
 + uci set tertf.general.cleartraffic='1'
 + uci commit tertf
 +fi
 +
 +mount --bind /mnt/sd128gb/tmp/rrd /tmp/rrd
 +</code>
 +</WRAP>
 +
 +
 +
 +===== 設定 =====
 +細かい設定は **[Statistics] - [Setup]** で行いましょう。\\
  
 ===== 参考文献 ===== ===== 参考文献 =====
 [[https://openwrt.org/docs/guide-user/luci/luci_app_statistics|OpenWrt Project: luci-app-statistics]]\\ [[https://openwrt.org/docs/guide-user/luci/luci_app_statistics|OpenWrt Project: luci-app-statistics]]\\
  
  • hardware/gl-ar750s-ext/real-time_statistics.1582266604.txt.gz
  • 最終更新: 2020/02/21 15:30
  • by ともやん