ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: demiurg888@mail.ru
To: community@lists.altlinux.org
Subject: [Comm] корректировка вывода программы sensors
Date: Wed, 21 Jun 2006 20:52:12 +0400
Message-ID: <1808968995.20060621205212@mail.ru> (raw)

Всех приветствую!

Буду искренне рад если уважаемое сообщество подскажет как пофиксить
следующие проблемы:

1. Как подкорректировать вывод команды "sensors" (из пакета
"lm_sensors").

Вывод таков:
eeprom-i2c-0-51
Adapter: SMBus I801 adapter at 5000
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512

w83627hf-isa-0290
Adapter: ISA adapter
VCore 1:   +1.54 V  (min =  +1.20 V, max =  +1.60 V)              
VCore 2:   +4.08 V  (min =  +1.20 V, max =  +1.60 V)              
+3.3V:     +3.42 V  (min =  +2.82 V, max =  +3.79 V)              
+5V:       +5.16 V  (min =  +6.22 V, max =  +0.84 V)              
+12V:     +11.97 V  (min =  +3.84 V, max = +15.28 V)              
-12V:     -12.29 V  (min =  -4.63 V, max =  +2.10 V)              
-5V:       -5.10 V  (min =  +1.02 V, max =  +2.84 V)              
V5SB:      +5.46 V  (min =  +6.00 V, max =  +6.00 V)              
VBat:      +3.34 V  (min =  +4.06 V, max =  +3.95 V)              
Cpu Fan:  5443 RPM  (min =  706 RPM, div = 8)                     
System Temp:
             +40 C  (high =  +127 C, hyst =   -19 C)   sensor = thermistor           
Cpu Temp:  +37.5 C  (high =   +70 C, hyst =   +65 C)   sensor = thermistor           
vid:      +1.400 V
alarms:   
beep_enable:
          Sound alarm disabled

Когда запускаешь сразу после загрузки компа - около многих строчек
стоит "ALARM" (что логично т.к. значения уставок - min и max далеки от
требуемых). Мне надо что-то типа этого:

(то что выше без изменений)
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1:   +1.54 V
VCore 2:   +4.08 V
+3.3V:     +3.42 V
+5V:       +5.16 V
+12V:     +11.97 V
-12V:     -12.29 V
-5V:       -5.10 V
V5SB:      +5.46 V
VBat:      +3.34 V
Cpu Fan:  5443 RPM
System Temp:
             +40 C
Cpu Temp:  +37.5 C
vid:      +1.400 V
(то что ниже без изменений)

Т.е. чтобы значений в скобках (уставки) вообще не было.
Перечитал кучу манов и доков - НИГДЕ как их убрать. Поправить да...
спокойно (надо еще в формулах разбираться). А вот убрать совсем нет.
Писать собственный парсер для "sensors" не хочется ибо корректировка
вывода программы должна лежать на самой программе (тем более когда
надо НЕ добавить, а убрать).

2. Как в десктопе "icewm" прикрутить индикатор раскладки клавиатуры
(Рус/анг)? Xxkb в трей влезать не хочет. Неужели только gkrellm?
Что-нибудь ШТАТНОГО у него (icewm) нет?


  

-- 
Искренне с уважением,
                    Сергей             mailto:demiurg888@mail.ru




             reply	other threads:[~2006-06-21 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-21 16:52 demiurg888 [this message]
2006-06-21 20:39 ` Alex Yustasov
2006-06-27 13:14 ` Maxim Tyurin

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=1808968995.20060621205212@mail.ru \
    --to=demiurg888@mail.ru \
    --cc=community@lists.altlinux.org \
    /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