titihao
发表于 2015-5-14 22:54:51
这个确实高端。。
350308271
发表于 2015-5-16 17:24:51
学习
jzpopo
发表于 2015-5-16 17:44:46
学习一下啊
minglam310
发表于 2015-5-17 06:29:20
非常不错,试试看
东张西望
发表于 2015-5-20 19:11:32
好好 学习下,谢谢
junnlung
发表于 2015-5-20 20:29:42
感谢楼主的无私分享
Aaron8
发表于 2015-5-25 00:51:35
Display dpf { Driver 'DPF' Port 'usb0' Font '6x8' Foreground 'ffffff' Background 'ffffff00' Basecolor'000000' #ffffff00 Orientation 0 # Orientation value from 0-3 Backlight 3# Backlight variable control } Widget Time { class'Text' expression strftime('%H:%M:%S',time()) width9 align'L' update tick Background 'FFFFFF00' }Widget CPUText { class'Text' expression uname('machine') width9 align'R' update minute Background 'FFFFFF00' }Widget Busy { class 'Text' expression proc_stat::cpu('busy', 500) prefix 'CPU' postfix '%' width 13 precision 1 align 'R' update tick Background 'FFFFFF00' }Widget CPUBar { class 'Bar' expressionproc_stat::cpu('busy', 500) expression2 proc_stat::cpu('system', 500) length 21 direction 'E' # style 'H' update tack Foreground '5f5f5f' Background '00FF00FF' BarColor0 'FF0000' BarColor1 'EE3333' }Widget RAMText1 { class'Text' expression meminfo('MemTotal')/1024 #prefix 'RAM' postfix 'MB' precision0 width6 align'L' update tick Background 'FFFFFF00' }Widget RAMText2 { class'Text' expression meminfo('MemFree')/1024 prefix 'RAM' postfix 'MB/' precision0 width15 align'R' update tick Background 'FFFFFF00' }Widget RAMBar { class 'Bar' expressionmeminfo('MemTotal') - meminfo('MemFree') max meminfo('MemTotal') length 21 direction 'E' # style 'H' update tack Foreground '5f5f5f' Background '00FF00FF' BarColor0 'FF0000' BarColor1 'EE3333' }Widget LoadText { class'Text' expression loadavg(1) prefix 'Load:' postfix loadavg(1)>1.0?'!':'' width21 align'R' precision1 update tack Background 'FFFFFF00' }Widget LoadBar { class 'Bar' expressionloadavg(1) max 2.0 length 21 direction 'E' # style 'H' update tack Foreground '5f5f5f' Background '00FF00FF' BarColor0 'FF0000' BarColor1 'EE3333' }Widget DiskText1 { class 'Text' expression diskstats('sda', 'read_sectors', 500)/2 prefix 'Read:' postfix 'K' precision0 width 21 align 'R' update tick Foreground 'ffffff' Background 'FFFFFF00' }Widget DiskText2 { class 'Text' expression diskstats('sda', 'write_sectors', 500)/2 prefix 'Write:' postfix 'K' precision0 width 21 align 'R' update tick Foreground 'ffffff' Background 'FFFFFF00' }Widget DiskBar { class 'Bar' expressiondiskstats('sda', 'read_sectors',500) expression2 diskstats('sda', 'write_sectors', 500) length 21 direction 'E' # style 'H' update tack Foreground '5f5f5f' Background '3f3f3fFF' BarColor0 '00FF00' BarColor1 'FF0000' }Widget SpaceText1 { class 'Text' expression statfs(SpaceDir, 'blocks')*statfs(SpaceDir, 'bsize')/1073741824 prefix SpaceDir postfix 'G' precision0 width 21 align 'R' update minute Foreground 'ffffff' Background 'FFFFFF00' }Widget SpaceText2 { class 'Text' expression statfs(SpaceDir, 'bavail')*statfs(SpaceDir, 'bsize')/1073741824 prefix 'Free:' postfix 'G' precision0 width 21 align 'R' update minute Foreground 'ffffff' Background 'FFFFFF00' } Widget SpaceBar { class 'Bar' expressionstatfs(SpaceDir, 'blocks') - statfs(SpaceDir, 'bavail') length 21 direction 'E' # style 'H' max statfs(SpaceDir, 'blocks') update tick Foreground '5f5f5f' Background '00FF00FF' BarColor0 'FF0000' BarColor1 'EE3333' }Widget NetText1 { class 'Text' expression netdev::fast('eth0', 'Tx_bytes', 500)/1024 prefix 'Up:' postfix 'K/s' width 21 precision0 align 'R' update tick Foreground 'ffffff' Background 'FFFFFF00' }Widget NetText2 { class 'Text' expression netdev::fast('eth0', 'Rx_bytes', 500)/1024 prefix 'Down:' postfix 'K/s' precision0 width 21 align 'R' update tick Foreground 'ffffff' Background 'FFFFFF00' }Widget NetBar { class 'Bar' expression netdev('eth0', 'Tx_bytes', 500) expression2netdev('eth0', 'Rx_bytes', 500) length 21 direction 'E' # style 'H' # max 2097152 # max 204800 update tack Foreground '5f5f5f' Background '3F3F3FFF' BarColor0 '00FF00' BarColor1 'FF0000' }Widget UpText { class 'Text' expression uptime('%dd %H:%M:%S') # prefix 'R:' width 13 align 'R' update tick Foreground 'ffffff' Background 'FFFFFF00' }Widget IPText { class 'Text' expression uname('nodename').'-'.'IP:'.netinfo::ipaddr('eth0').'-'.uname('sysname').'-'.uname('release').'-'.cpuinfo('model name') width 21 align 'M' update minute Foreground 'ffffff' Background 'FFFFFF00' } Display 'DPF'Layout mylayout { Row01.Col01 'Time' Row01.Col09 'UpText' Row02.Col13 'CPUText' Row02.Col1'Busy' Row03.Col01 'CPUBar' Row04.Col01 'LoadText' #Row05.Col01 'LoadBar' Row05.Col16 'RAMText1' Row05.Col01 'RAMText2' Row06.Col01 'RAMBar' Row07.Col01 'DiskText1' Row8.Col01 'DiskText2' Row9.Col01 'DiskBar' Row10.Col01 'SpaceText1' Row11.Col01 'SpaceText2' Row12.Col01 'SpaceBar' Row13.Col01 'NetText1' Row14.Col01 'NetText2' Row15.Col01 'NetBar' #Row18.Col01 'UpText' Row16.Col01 'IPText' }Layout 'mylayout' Variables { tick 500 tack 200 second 1000 minute 60000 SpaceDir'/mnt/sda1' }
yulian33
发表于 2015-5-25 13:45:35
谢谢分享信息分析
107225032
发表于 2015-5-25 16:18:28
希望这可以用 研究了很久
不不鼠
发表于 2015-6-2 21:39:36
分享快速安装无u盘启动的X晖启动盘 !!
holyzch
发表于 2015-6-3 11:11:33
怎么都要回复
editor
发表于 2015-7-10 20:43:43
感谢您的分享!
ybml
发表于 2015-7-10 22:18:07
分享快速安装无u盘启动的X晖启动盘
tyhtyh
发表于 2015-7-21 22:45:03
马克,十个字符
djz55555
发表于 2015-7-28 20:26:22
看看学习一下
andyup
发表于 2015-7-29 20:06:43
牛逼。。。看看
。。
chen3138
发表于 2015-8-4 18:52:37
学习下,谢谢分享。
weizhengff
发表于 2015-8-25 12:49:13
认真学习~感谢分享~~~
xinyou
发表于 2015-8-25 15:40:18
学习下,多个优盘看着不爽
champman
发表于 2015-8-28 00:46:53
看看,看看