mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
[lcd4linux @ 2004-05-28 13:51:41 by reinelt]
ported driver for Beckmann+Egle Mini-Terminals added 'flags' parameter to serial_init() git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@440 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
@@ -177,7 +177,7 @@ Widget RAM {
|
||||
|
||||
Widget Busy {
|
||||
class 'Text'
|
||||
expression cpu('busy', 500)
|
||||
expression proc_stat::cpu('busy', 500)
|
||||
prefix 'Busy'
|
||||
postfix '%'
|
||||
width 10
|
||||
@@ -188,8 +188,8 @@ Widget Busy {
|
||||
|
||||
Widget BusyBar {
|
||||
class 'Bar'
|
||||
expression cpu('busy', 500)
|
||||
expression2 cpu('system', 500)
|
||||
expression proc_stat::cpu('busy', 500)
|
||||
expression2 proc_stat::cpu('system', 500)
|
||||
length 10
|
||||
direction 'E'
|
||||
update tack
|
||||
@@ -220,7 +220,7 @@ Widget Disk {
|
||||
class 'Text'
|
||||
# disk.[rw]blk return blocks, we assume a blocksize of 512
|
||||
# to get the number in kB/s we would do blk*512/1024, which is blk/2
|
||||
expression (disk('.*', 'rblk', 500)+disk('.*', 'wblk', 500))/2
|
||||
expression (proc_stat::disk('.*', 'rblk', 500)+proc_stat::disk('.*', 'wblk', 500))/2
|
||||
prefix 'disk'
|
||||
postfix ' '
|
||||
width 10
|
||||
@@ -231,8 +231,8 @@ Widget Disk {
|
||||
|
||||
Widget DiskBar {
|
||||
class 'Bar'
|
||||
expression disk('.*', 'rblk', 500)
|
||||
expression2 disk('.*', 'wblk', 500)
|
||||
expression proc_stat::disk('.*', 'rblk', 500)
|
||||
expression2 proc_stat::disk('.*', 'wblk', 500)
|
||||
length 14
|
||||
direction 'E'
|
||||
update tack
|
||||
|
||||
Reference in New Issue
Block a user