BusyBox v1.15.3 (2012-02-29 17:39:42 EST) built-in shell (ash) Enter 'help' for a list of built-in commands. --------------------------------------------------------------- | _____ _ | | | __ \ | | | | | | \/ __ _ _ __ __ _ ___ _ _| | ___ | | | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \ | | | |_\ \ (_| | | | (_| | (_) | |_| | | __/ | | \____/\__,_|_| \__, |\___/ \__, |_|\___| | | __/ | __/ | | | |___/ |___/ | | | |-------------------------------------------------------------| | Gargoyle version 1.4.7 | OpenWrt backfire branch | | Gargoyle revision 5783343 | OpenWrt revision r30752 | | Built February 29, 2012 | Target ar71xx/ath9k_usb | --------------------------------------------------------------- root@Gargoyle:~# cat /etc/lcd4linux.conf Display dpf { Driver 'DPF' Port 'usb0' Font '6x8' Foreground 'ffffff' Background '000000' Basecolor '000000' Orientation 3 # Orientation value from 0-3 Backlight backlight # Backlight variable control } Widget OS { class 'Text' expression '<<< '.uname('nodename').' '.uname('release').'-WRT160NL >>>' width 28 align 'M' style 'bold' speed 250 update tick Background '00f000' Foreground 'ff5f5f' } Widget Time { class 'Text' expression strftime('%a,%d/%m %H:%M:%S',time()) width 27 prefix 'Date: ' align 'L' update 1000 } Widget Uptime { class 'Text' expression uptime('%d days %H:%M:%S') width 27 align 'L' prefix 'Uptime: ' update 1000 Background 'FFFFFF00' } Widget CPU { class 'Text' expression uname('machine').' '.uname('sysname') prefix 'CPU:' width 27 align 'R' postfix ' ' update tick Background 'FFFFFF00' } Widget RAM { class 'Text' expression meminfo('MemTotal')/1024 prefix 'Memory: ' postfix 'MB Ram ' width 27 precision 1 align 'L' update tick Background 'FFFFFF00' } Widget Memory { class 'Text' prefix 'Ram Used: ' expression (meminfo('MemTotal') - meminfo('MemFree') - meminfo('Cached') - meminfo('Buffered')) / 1024 precision 1 postfix 'MB Ram ' width 27 align 'L' update slow } Widget Rampercent { class 'text' expression 'Ram% |' width 6 align 'L' Background '000000' Foreground 'ffffff' } Widget MemoryBar { class 'Bar' expression (meminfo('MemTotal') - meminfo('MemFree') - meminfo('Cached') - meminfo('Buffered'))/meminfo('MemTotal') length 21 min 0 max 1 direction 'E' update slow BarColor0 '9999ff' BarColor1 '9999ff' } Widget Busy { class 'Text' expression proc_stat::cpu('busy', 500) prefix 'Busy CPU/SYS ' postfix '% ' width 27 precision 1 align 'R' update tick Foreground 'ffffff' Background 'FFFFFF00' } Widget Busypercent { class 'text' expression 'Busy%|' width 6 align 'L' Background '000000' Foreground 'ffffff' } Widget BusyBar { class 'Bar' expression proc_stat::cpu('busy', 500) expression2 proc_stat::cpu('system', 500) length 21 direction 'E' update tack Foreground 'ffffff' Background '00000080' BarColor0 '5f5fff' BarColor1 'ff5f5f' } Widget Load { class 'Text' expression loadavg(1) prefix 'Load:' postfix loadavg(1)>1.0?'!':' ' width 27 precision 1 align 'R' update tick Foreground 'ffffff' Background 'FFFFFF00' } Widget Loadpercent { class 'text' expression 'Load%|' width 6 align 'L' Background '000000' Foreground 'ffffff' } Widget LoadBar { class 'Bar' expression loadavg(1) max 2.0 length 21 direction 'E' update tack Foreground 'ffffff' Background '00000080' BarColor0 '5f5fff' BarColor1 'ff5f5f' } Widget Eth0_w { class 'Text' expression (netdev('wlan0', 'Rx_bytes', 500)+netdev('wlan0', 'Tx_bytes', 500))/1024 prefix 'Wlan0 kbs Rx/Tx: ' postfix ' ' width 27 precision 0 align 'R' update tick Foreground 'ffffff' Background 'FFFFFF00' } Widget Wlanpercent { class 'text' expression 'Wlan%|' width 6 align 'L' Background '000000' Foreground 'ffffff' } Widget Eth0Bar_w { class 'Bar' expression netdev('wlan0', 'Rx_bytes', 500) expression2 netdev('wlan0', 'Tx_bytes', 500) length 21 direction 'E' update tack Foreground 'ffffff' Background '00000080' BarColor0 '5f5fff' BarColor1 'ff5f5f' } Widget Eth0 { class 'Text' expression (netdev('eth0', 'Rx_bytes', 500)+netdev('eth0', 'Tx_bytes', 500))/1024 prefix 'Eth0 kbs Rx/Tx: ' postfix ' ' width 27 precision 0 align 'R' update tick Foreground 'ffffff' Background '000000' } Widget Eth0percent { class 'text' expression 'Eth0%|' width 6 align 'L' Background '000000' Foreground 'ffffff' } Widget Eth0Bar { class 'Bar' expression netdev('eth0', 'Rx_bytes', fast) expression2 netdev('eth0', 'Tx_bytes', fast) length 21 direction 'E' update fast BarColor0 '5f5fff' BarColor1 'ff5f5f' } Widget Banner { class 'Text' expression '<<< Wireless Node to Telus DSL Router >>>' width 28 align 'M' style 'bold' speed 250 update tick Background '00f000' Foreground 'ff5f5f' } Widget Bgnd { class 'Image' file 'bgnd.png' reload 1 update 5000 inverted 0 visible 1 } Display 'DPF' Layout mylayout { Row01.Col01 'OS' Row02.Col01 'Time' Row03.Col01 'Uptime' Row04.Col01 'CPU' Row05.Col01 'RAM' Row06.Col01 'Memory' Row07.Col01 'Rampercent' Row07.Col07 'MemoryBar' Row08.Col01 'Busy' Row09.Col01 'Busypercent' Row09.Col07 'BusyBar' Row10.Col01 'Load' Row11.Col01 'Loadpercent' Row11.Col07 'LoadBar' Row12.Col01 'Eth0_w' Row13.Col01 'Wlanpercent' Row13.Col07 'Eth0Bar_w' Row14.Col01 'Eth0' Row15.Col01 'Eth0percent' Row15.Col07 'Eth0Bar' Row16.Col01 'Banner' # Layer 2 { # X1.Y1 'Bgnd' # } } Layout 'mylayout' Variables { backlight 2 tick 1000 tack 200 fast 1000 slow 3000 minute 60000 } root@Gargoyle:~#