mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
added sensor handling (for temperature etc.) made data collecting happen only if data is used (reading /proc/meminfo takes a lot of CPU!) released lcd4linux-0.92 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@13 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
44 lines
812 B
Plaintext
44 lines
812 B
Plaintext
Display LCD2041
|
|
Port /dev/ttyS2
|
|
Speed 19200
|
|
Contrast 160
|
|
|
|
#Row1 "*** %o %v ***"
|
|
#Row2 "%p CPU %r MB RAM"
|
|
#Row3 "Busy %cu%% $r10cs+cb"
|
|
#Row4 "Load %l1%L$r10l1"
|
|
|
|
#Row1 "Load %l1%L$r10cs+cb"
|
|
#Row2 "Disk %dm $R10dr+dw"
|
|
#Row3 "Net %nm $R10nr+nw"
|
|
#Row4 "ISDN %im $r10ii+io"
|
|
|
|
Row1 "Load %l1%L$r10cs+cb"
|
|
Row2 "Temp %s2\337$r10s1+s2"
|
|
Row3 "Disk %dm $R10dr+dw"
|
|
Row4 "Net %nm $R10nr+nw"
|
|
|
|
#Row1 "$u3l1$u3cb$u3cs $u3mu$u3ma$u3ms $u3dr$u3dw $u3nr$u3nw $u3ii$u3io"
|
|
#Row2 " "
|
|
#Row3 " "
|
|
#Row4 "CPU MEM IO IP"
|
|
|
|
Tick 100
|
|
Tack 400
|
|
Tau 500
|
|
Overload 2.0
|
|
|
|
Sensor1 /proc/sys/dev/sensors/w83781d-isa-0290/temp1
|
|
Sensor1_min 30
|
|
Sensor1_max 50
|
|
|
|
Sensor2 /proc/sys/dev/sensors/w83781d-isa-0290/temp2
|
|
Sensor2_min 30
|
|
Sensor2_max 50
|
|
|
|
Sensor3 /proc/sys/dev/sensors/w83781d-isa-0290/temp3
|
|
Sensor3_min 30
|
|
Sensor3_max 50
|
|
|
|
Fifo /var/run/lcd4linux
|