From: Alexander Kuprin <ru_classic@gts.lg.ua> To: community@altlinux.ru Subject: [Comm] Superkaramba. Отображение температуры процессора. Date: Mon, 3 May 2004 02:27:21 +0300 Message-ID: <200405030227.21659.ru_classic@gts.lg.ua> (raw) Доброй ночи. Народ, кто-нибудь использует 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
reply other threads:[~2004-05-02 23:27 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200405030227.21659.ru_classic@gts.lg.ua \ --to=ru_classic@gts.lg.ua \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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