diff options
author | reinelt <> | 2004-05-29 15:53:28 +0000 |
---|---|---|
committer | reinelt <> | 2004-05-29 15:53:28 +0000 |
commit | d7fd204c704a9926c34919c5e9110739c550fb32 (patch) | |
tree | ee5c124a325130c45b26de74d730892fa81d459d /lcd4linux.c | |
parent | 194401c2586eec62124bc331975593be840f3045 (diff) | |
download | lcd4linux-d7fd204c704a9926c34919c5e9110739c550fb32.tar.gz |
[lcd4linux @ 2004-05-29 15:53:28 by reinelt]
M50530: reset parport signals on exit
plugin_ppp: ppp() has two parameters, not three
lcd4linux.conf.sample: diskstats() corrected
Diffstat (limited to '')
-rw-r--r-- | lcd4linux.conf.sample | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample index a65cb26..0349364 100644 --- a/lcd4linux.conf.sample +++ b/lcd4linux.conf.sample @@ -220,10 +220,10 @@ 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 (proc_stat::disk('.*', 'rblk', 500)+proc_stat::disk('.*', 'wblk', 500))/2 + expression (proc_stat::disk('.*', 'rblk', 500)+proc_stat::disk('.*', 'wblk', 500))/2 # with kernel 2.6, disk_io disappeared from /proc/stat but moved to /proc/diskstat # therefore you have to use another function called 'diskstats': - expression diskstats('.*', '.*_sectors', 500) + #expression diskstats('.*', '.*_sectors', 500) prefix 'disk' postfix ' ' width 10 @@ -234,11 +234,11 @@ Widget Disk { Widget DiskBar { class 'Bar' - #expression proc_stat::disk('.*', 'rblk', 500) - #expression2 proc_stat::disk('.*', 'wblk', 500) + expression proc_stat::disk('.*', 'rblk', 500) + expression2 proc_stat::disk('.*', 'wblk', 500) # for kernel 2.6: - expression diskstats('.*', 'read_sectors', 500) - expression2 diskstats('.*', 'write_sectors', 500) + #expression diskstats('.*', 'read_sectors', 500) + #expression2 diskstats('.*', 'write_sectors', 500) length 14 direction 'E' update tack |