* [Comm] Superkaramba. Отображение температуры процессора.
@ 2004-05-02 23:27 Alexander Kuprin
0 siblings, 0 replies; only message in thread
From: Alexander Kuprin @ 2004-05-02 23:27 UTC (permalink / raw)
To: community
Доброй ночи.
Народ, кто-нибудь использует superkaramb'у для мониторинга температуры? Что-то
у меня "по-честному" отображать не получается. Строка
text x=170 y=30 sensor=sensor type="temp2" format="%v °C" align=right
color=0,0,0 fontsize=10 font="XLinSans"
Не работает. Методом втыка нашёл только два работающих значения для type: fan2
и vid. При этом lm_sensors настроен:
$ sensors
adm1025-i2c-0-2d
Adapter: SMBus I801 adapter at efa0
+2.5V: +2.50 V (min = +2.25 V, max = +2.75 V)
VCore: +1.72 V (min = +1.75 V, max = +1.95 V) ALARM
+3.3V: +3.33 V (min = +2.96 V, max = +3.63 V)
+5V: +5.08 V (min = +4.51 V, max = +5.49 V)
+12V: +0.00 V (min = +10.81 V, max = +13.19 V)
VCC: +3.32 V (min = +2.96 V, max = +3.63 V)
CPU Temp: +43.0 C (low = +10 C, high = +60 C)
M/B Temp: +36.0 C (low = +10 C, high = +45 C)
vid: +1.75 V
eeprom-i2c-0-50
Adapter: SMBus I801 adapter at efa0
Memory type: DRDRAM RIMM
Memory size (MB): 256
eeprom-i2c-0-51
Adapter: SMBus I801 adapter at efa0
Memory type: DRDRAM RIMM
Memory size (MB): 256
smsc47m1-isa-0800
Adapter: ISA adapter
fan1: 0 RPM (min = 2997 RPM, div = 8)
fan2: 2671 RPM (min = 2997 RPM, div = 8) ALARM
Можно, конечно, заменить sensor=sensor на sensor=program и слепить что-то
подобное:
text x=170 y=30 sensor=program format="%v °C"
program="cat /proc/sys/dev/sensors/adm1025-i2c-0-2d/temp1 | awk '{print $3}'"
align=right color=0,0,0 fontsize=10 font="XLinSans"
Но это, как мне кажется, не совсем верно. Возможно кто-то подскажет как
правильно работать с сенсорами.
p.s. Система = ALT Linux Sisyphus (20040430)
--
WBR, Alexadner Kuprin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-02 23:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-02 23:27 [Comm] Superkaramba. Отображение температуры процессора Alexander Kuprin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git