kona7mate ConkyでのCPU温度 ssd64gb

206 views
Skip to first unread message

tt5...@gmail.com

unread,
Sep 21, 2023, 1:09:06 AM9/21/23
to KonaLinux
Kona7 MATE  ConkyでのCPU温度が非表示 あまり重要な事ではありませんが一応
$ sensors
nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +31.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +34.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +35.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +36.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +34.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +34.0°C  (high = +81.0°C, crit = +101.0°C)
##############################################################
ぐぐって調べて怪しげな作業後
$ sensors
drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1:        +40.0°C  

nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +28.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +32.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +33.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +33.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +31.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +31.0°C  (high = +81.0°C, crit = +101.0°C)
##############################################################
今Debian12 MATE起動ですが
$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +29.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +34.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +34.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +35.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +33.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +35.0°C  (high = +81.0°C, crit = +101.0°C)

nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

smsc47b397-isa-0480
Adapter: ISA adapter
fan1:        1603 RPM
fan2:        1467 RPM
fan3:        1254 RPM
fan4:        1297 RPM
temp1:        +41.0°C  
temp2:        +35.0°C  
temp3:        +30.0°C  
temp4:       -128.0°C  

drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1:        +30.0°C  (low  = -127.0°C, high = +127.0°C)
                       (crit low = -127.0°C, crit = +127.0°C)
                       (highest = +30.0°C)

それ用の.conkyrc  Kona7のをいじったやつ
89行目ぐらい # CPU Usage:${color } $cpu%  
 CPU Usage:${color } $cpu% $alignr${execi 10 sensors | grep ^temp2 | tail -n 1 |awk '{print $2}'}  $color ${alignr}${exec sensors | grep 'Core 10' | cut -c16-17}℃
最下段に怪しいのですが下記追加
${color red}Temperature
    ${color 33ff33}CPU(Xeon X5680):$color ${alignr}${exec sensors | grep 'Core 0'| cut -c16-17}℃
    ${color 33ff33}GPU & SSD(320GB):$color ${alignr}${exec sensors | grep 'temp1' | cut -c16-17}℃
    ##${color 33ff33}SSD(320GB):$color ${alignr}${hddtemp /dev/sda}℃
${color orange}$hr
GPU Temp:${color lightgreen} $alignr${nvidia temp}℃
###cat /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/hwmon/hwmon3/temp1_input
${color}GPU Freq:${color lightgreen} $alignr${nvidia gpufreq}MHz
${color red}Fan
${color 33ff33}CASE FAN  :$color ${alignr}${exec sensors | grep 'fan1'| cut -c11-22}$color ${alignr}NONE
${color orange}$hr

CPU Temp: $color ${alignr}${exec sensors | grep 'Core 10' | cut -c16-17}℃
SSD Temp: $color ${alignr}${exec sensors | grep 'low' | cut -c16-17}℃
GPU Temp: ${color }$alignr${execi 10 sensors | grep ^temp1 | tail -n 2 |awk '{print $2}'}
SSD Temp: ${color }$alignr${execi 10 sensors | grep ^temp1 | tail -n 1 |awk '{print $2}'}
#################################################
注 Debian12 MATEでも
GPU Temp:${color lightgreen} $alignr${nvidia temp}℃
###cat /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/hwmon/hwmon3/temp1_input
${color}GPU Freq:${color lightgreen} $alignr${nvidia gpufreq}MHz 
はConky表示で
GPU Temp:      ℃  
GPU Freq:      MHz で機能してない 予想どうり 

tt5...@gmail.com

unread,
Sep 21, 2023, 1:24:49 AM9/21/23
to KonaLinux
ぐぐって調べて怪しげな作業 とは
drivetempでハードディスクの温度を確認する 2021-02-05
https://matoken.org/blog/2021/02/05/check-the-hard-disk-temperature-with-drivetemp/
の作業
効能が有ったのか不明ですが Psensorインストール
MATE特上にしてインジケーターアプレット Hardware Sensors Monitor追加
MATE特上とは
sudo apt install mate-desktop-environment-extras
だったような気がします
続き番号の
temp1;
temp2;
temp3:を表示させるのにはHardware Sensors Monitor追加が必要そうな感じ 怪しいのですが
2023年9月21日木曜日 14:09:06 UTC+9 tt5...@gmail.com:

4 77

unread,
Sep 21, 2023, 11:24:06 AM9/21/23
to kona...@googlegroups.com
これのみでは起動しないUSBメモリからSSD128のsda2にcopyしたもの
これはMATE特上にした   
(SSD64の方はインストールそのままのMATE)
:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +32.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +37.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +36.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +38.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +35.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +36.0°C  (high = +81.0°C, crit = +101.0°C)


nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

smsc47b397-isa-0480
Adapter: ISA adapter
fan1:        1824 RPM
fan2:        1713 RPM
fan3:        1360 RPM
fan4:        1398 RPM
temp1:        +41.0°C    <−−GPU? 怪しい
temp2:        +36.0°C    <−−CPU? 怪しい
temp3:        +31.0°C    <−−SSD?  怪しい

temp4:       -128.0°C  

drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1:         +0.0°C  (low  = -127.0°C, high = +127.0°C)

                       (crit low = -127.0°C, crit = +127.0°C)
                       (lowest =  +0.0°C, highest =  +0.0°C)

2023年9月21日(木) 14:24 tt5...@gmail.com <tt5...@gmail.com>:
--
このメールは Google グループのグループ「KonaLinux」に登録しているユーザーに送られています。
このグループから退会し、グループからのメールの配信を停止するには konalinux+...@googlegroups.com にメールを送信してください。
このディスカッションをウェブ上で閲覧するには https://groups.google.com/d/msgid/konalinux/84539316-bc22-41b3-a6a2-af5352ac87f5n%40googlegroups.com にアクセスしてください。

4 77

unread,
Sep 23, 2023, 12:18:55 AM9/23/23
to kona...@googlegroups.com
kona7mate   ssd64gb インストールしたままのMATE
MATE特上ではないので インジケーターアプレット Hardware Sensors Monitorはない
$ sensors

nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +31.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +34.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +35.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +36.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +34.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +34.0°C  (high = +81.0°C, crit = +101.0°C)
###############################################################
作業後
$ sensors
drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1:        +40.0°C  

nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +28.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +32.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +33.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +33.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +31.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +31.0°C  (high = +81.0°C, crit = +101.0°C)
#####################################################
Kona7MATE  SSD128のsda2は
ぐぐって調べて怪しげな作業 
drivetempでハードディスクの温度を確認する 2021-02-05
https://matoken.org/blog/2021/02/05/check-the-hard-disk-temperature-with-drivetemp/
の作業で最初ドジって抜かした作業があったので後から追加で作業したがダメだった模様
SSDに温度センサーが無いとは思われない psensorでは表示の感じなので

2023年9月22日(金) 0:23 4 77 <tt5...@gmail.com>:

4 77

unread,
Sep 23, 2023, 3:05:45 AM9/23/23
to kona...@googlegroups.com
Kona7MATE  SSD128のsda2
CrazyDiskInfoをインストールして
crazydiskinfo_1.1.0-3_amd64.deb が落ちて来る
マウスのgdebi展開でインストール
不要と思うが
# apt-get install libatasmart-dev libncurses5-dev libncursesw5-dev
もインストールした  Debian9の時には必要だった 俺用備忘録で
$ sudo craz
で下記表示
------------------------------------------------------------------------------------ 
1.1.0 -------------------------------------------------------------------------------------
Good  
40.0 °C
/dev/sda
--------
                                                     +--------------------------- ACSC4M128S25 [119.2 GiB] ----------------------------+
##################################
40℃なのか?

2023年9月23日(土) 13:18 4 77 <tt5...@gmail.com>:

4 77

unread,
Sep 23, 2023, 3:16:58 AM9/23/23
to kona...@googlegroups.com
訂正です  コピペミス
誤記 $ sudo craz
正解 $ sudo crazy


2023年9月23日(土) 16:05 4 77 <tt5...@gmail.com>:

4 77

unread,
Sep 23, 2023, 5:42:39 PM9/23/23
to kona...@googlegroups.com
tran-SSD256の起点のsda3のkona4bjを起動で
ssd64のsda1のkona7MATEをgpartedでtran-SSD256のsda5にcopyで
辻褄が合うようにいじって マルチブートメニューを作る為
$ sudo update-grub
でPC再起動でsda5のkona7MATEを起動でMATE特上にしてもPC再起動でも
:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +32.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +29.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +31.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +31.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +30.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +28.0°C  (high = +81.0°C, crit = +101.0°C)


nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1:        +44.0°C 
#################################
がっかりな結果 作業順番でMATE特上にして念の為PC再起動で
怪しげな作業が正解なのか?不明です。

2023年9月23日(土) 16:16 4 77 <tt5...@gmail.com>:

4 77

unread,
Sep 23, 2023, 6:02:28 PM9/23/23
to kona...@googlegroups.com
SSDの表面に指をあてた感じでは44℃はないと思う maxでも30℃ぐらいの感じ
Psensor起動で見たら42℃
インジケーターアプレット Hardware Sensors Monitorでは42℃
今外気温21℃ 室温24.4℃で
このSSDは金属表面

4 77

unread,
Sep 23, 2023, 8:41:35 PM9/23/23
to kona...@googlegroups.com

lm-sensors

より
$ sudo apt install lm-sensors
$ sudo sensors-detect
重要ポイント 最後は下記のようにyesを打ち込むこと
(注 最後はenterキーだとデフォルトではNOに成るので Debian12MATEの時 違うURLで見た記憶あり)
Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!
$ sensors
oretemp-isa-0000
Adapter: ISA adapter
Core 0:       +22.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +28.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +27.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +28.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +26.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +26.0°C  (high = +81.0°C, crit = +101.0°C)


nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

smsc47b397-isa-0480
Adapter: ISA adapter
fan1:        1608 RPM
fan2:        1475 RPM
fan3:        1245 RPM
fan4:        1274 RPM
temp1:        +36.0°C  
temp2:        +31.0°C  
temp3:        +26.0°C
 

temp4:       -128.0°C  

drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1:        +42.0°C  
##########################
やっと出ました  
Debian12MATEの時 違うURLですが見てやったような気がします。
作業順番でMATE特上にして念の為PC再起動で怪しげな作業である必要はない雰囲気

4 77

unread,
Sep 24, 2023, 5:37:11 AM9/24/23
to kona...@googlegroups.com

あーだこーだ

Conkyのカスタマイズ その1      2021年5月12日 (水)

http://nobnak.cocolog-nifty.com/blog/2021/05/post-c18b35.html

Conkyのカスタマイズ その4

(貼り付け開始)

sensorsは、最近のMintには標準で入っていると思います。しかし、初期は、センサー情報を正しく読み込んでいないので、一度、センサー情報を取得します。

$ sudo sensors-detect

と実行。

数回、質問されますが、基本的にはリターンキーを押すと、大文字で書かれた答えがデフォルトとして入力されます。(YES/no)であれば、デフォルトはYESです。

しかし、以下の質問に対してだけは、デフォルトがNOになっていますので、必ず、YESと入力します。

Do you want to add these lines automatically to /etc/modules? (yes/NO)

Successful!

と表示されれば、OK。

(貼り付け終了)

ここを見た

しかし

(貼り付け開始)

2.HDDTEMPの実行

次は、HDDの温度です。

HDDの温度の取得は、そのまんまhddtempというプログラムを使います

(貼り付け終了)

なので古いのか トリがmintのようなのでここは違う

hdd温度 debian12 でぐぐった模様

lm-sensors でぐぐるか
sensors-detect でぐぐった方がいいのかも?

4 77

unread,
Sep 24, 2023, 5:55:18 AM9/24/23
to kona...@googlegroups.com
訂正です
誤  hdd温度 debian12 でぐぐった模様
正解 hdd温度 conky でぐぐった模様

2023年9月24日(日) 18:36 4 77 <tt5...@gmail.com>:

4 77

unread,
Sep 27, 2023, 10:21:56 PM9/27/23
to kona...@googlegroups.com
kona7mate  ssd64
MATE特上にはしていないデフォルトのMATEで
$ sudo sensors-detect      yエンターの連続でやった
PC再起動で 更に再起動しろと表示なので2回目のPC再起動で
:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +31.0°C  (high = +81.0°C, crit = +101.0°C)
Core 1:       +36.0°C  (high = +81.0°C, crit = +101.0°C)
Core 2:       +36.0°C  (high = +81.0°C, crit = +101.0°C)
Core 8:       +37.0°C  (high = +81.0°C, crit = +101.0°C)
Core 9:       +36.0°C  (high = +81.0°C, crit = +101.0°C)
Core 10:      +36.0°C  (high = +81.0°C, crit = +101.0°C)


nouveau-pci-0f00
Adapter: PCI adapter
GPU core:      1.05 V  (min =  +1.05 V, max =  +1.18 V)

smsc47b397-isa-0480
Adapter: ISA adapter
fan1:        1597 RPM
fan2:        1468 RPM
fan3:        1241 RPM
fan4:        1276 RPM

temp1:        +41.0°C  
temp2:        +35.0°C  
temp3:        +30.0°C  

temp4:       -128.0°C  

drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1:        +40.0°C 
############################
このSSDはプラスチックのケースなので指で触って
温度を感じるので+40℃でいいような気もします。外気温28℃ 室温も同じ

4 77

unread,
Oct 8, 2023, 3:33:24 AM10/8/23
to kona...@googlegroups.com
2023-10-08 16-16-57.png スクリーンショット
Reply all
Reply to author
Forward
0 new messages