差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
linux:lm_sensors [2022/09/14 20:46] – [モジュールロード確認] ともやん | linux:lm_sensors [2023/09/04 09:17] (現在) – [Gnomeセッション自動起動設定] ともやん | ||
---|---|---|---|
行 6: | 行 6: | ||
[[linux: | [[linux: | ||
<WRAP color_term> | <WRAP color_term> | ||
- | <WRAP color_command>< | + | <WRAP color_command>< |
- | $ sudo dnf install lm_sensors gkrellm | + | <b class=GRN> |
- | </code></ | + | </pre></ |
<WRAP color_result_long>< | <WRAP color_result_long>< | ||
メタデータの期限切れの最終確認: | メタデータの期限切れの最終確認: | ||
行 84: | 行 84: | ||
問い合わせはすべてEnterで答える。 | 問い合わせはすべてEnterで答える。 | ||
<WRAP color_term> | <WRAP color_term> | ||
- | <WRAP color_command>< | + | <WRAP color_command>< |
- | $ sudo sensors-detect | + | <b class=GRN> |
- | </code></ | + | </pre></ |
<WRAP color_result_long>< | <WRAP color_result_long>< | ||
# sensors-detect revision 6085 (2012-10-30 18:18:45 +0100) | # sensors-detect revision 6085 (2012-10-30 18:18:45 +0100) | ||
行 335: | 行 335: | ||
Unloading i2c-dev... OK | Unloading i2c-dev... OK | ||
</ | </ | ||
- | <WRAP color_command>< | + | <WRAP color_command>< |
- | $ cat / | + | <b class=GRN> |
- | </code></ | + | </pre></ |
<WRAP color_result>< | <WRAP color_result>< | ||
# Generated by sensors-detect on Fri Sep 25 16:16:54 2020 | # Generated by sensors-detect on Fri Sep 25 16:16:54 2020 | ||
行 477: | 行 477: | ||
lsmodコマンドでモジュールが読み込まれているかどうかを確認する。 | lsmodコマンドでモジュールが読み込まれているかどうかを確認する。 | ||
<WRAP color_term> | <WRAP color_term> | ||
- | <WRAP color_command>< | + | <WRAP color_command>< |
- | $ lsmod | grep i2c | + | <b class=GRN> |
- | </code></ | + | </pre></ |
<WRAP color_result>< | <WRAP color_result>< | ||
- | i2c_i801 | + | <b class=RED> |
- | i2c_algo_bit | + | <b class=RED> |
- | i2c_core | + | <b class=RED> |
</ | </ | ||
- | or | + | </ |
+ | |||
+ | <WRAP color_term> | ||
<WRAP color_result>< | <WRAP color_result>< | ||
- | i2c_piix4 | + | <b class=RED> |
- | i2c_algo_bit | + | <b class=RED> |
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP color_term> | ||
+ | <WRAP color_result>< | ||
+ | <b class=RED> | ||
+ | <b class=RED> | ||
</ | </ | ||
</ | </ | ||
===== sensorsコマンドで表示 ===== | ===== sensorsコマンドで表示 ===== | ||
- | <code> | + | <WRAP color_term> |
- | $ sensors | + | <WRAP color_command>< |
- | </code> | + | <b class=GRN> |
- | <code> | + | </pre></ |
+ | <WRAP color_result_long>< | ||
k10temp-pci-00c3 | k10temp-pci-00c3 | ||
Adapter: PCI adapter | Adapter: PCI adapter | ||
行 529: | 行 539: | ||
OPT_TEMP2 Temperature: | OPT_TEMP2 Temperature: | ||
OPT_TEMP3 Temperature: | OPT_TEMP3 Temperature: | ||
- | </code> | + | |
+ | </pre></ | ||
+ | </ | ||
+ | |||
+ | <WRAP color_term> | ||
+ | <WRAP color_result>< | ||
+ | BAT0-acpi-0 | ||
+ | Adapter: ACPI interface | ||
+ | in0: 12.00 V | ||
+ | curr1: | ||
+ | |||
+ | coretemp-isa-0000 | ||
+ | Adapter: ISA adapter | ||
+ | Package id 0: +54.0°C | ||
+ | Core 0: +54.0°C | ||
+ | Core 1: +54.0°C | ||
+ | |||
+ | acpitz-acpi-0 | ||
+ | Adapter: ACPI interface | ||
+ | temp1: | ||
+ | |||
+ | </ | ||
+ | </WRAP> | ||
===== GKrellM System Monitorを入れる ===== | ===== GKrellM System Monitorを入れる ===== | ||
[[linux: | [[linux: | ||
- | <code> | + | <WRAP color_term> |
- | $ sudo dnf install gkrellm | + | <WRAP color_command>< |
- | </code> | + | <b class=GRN> |
+ | </pre></ | ||
+ | </WRAP> | ||
GKrellMを実行すると、次のようなバーが表示される。\\ | GKrellMを実行すると、次のようなバーが表示される。\\ | ||
{{linux: | {{linux: | ||
行 547: | 行 581: | ||
[[http:// | [[http:// | ||
テーマはユーザー毎にインストールする必要がある。\\ | テーマはユーザー毎にインストールする必要がある。\\ | ||
- | <code> | + | <WRAP color_term> |
- | $ cd ダウンロード | + | <WRAP color_command>< |
- | $ curl -O http:// | + | <b class=GRN> |
- | $ tar zxvf Acqua.gkrellm.tar.gz -C ~/ | + | <b class=GRN> |
- | </code> | + | <b class=GRN> |
+ | </pre></ | ||
+ | </WRAP> | ||
インストールが完了したら GKrellM の再起動後に設定のテーマで選択できるようになる。\\ | インストールが完了したら GKrellM の再起動後に設定のテーマで選択できるようになる。\\ | ||
===== Gnomeセッション自動起動設定 ===== | ===== Gnomeセッション自動起動設定 ===== | ||
Fedora 29 で Gnome セッションの自動起動設定を行うには、以下のファイルで自動起動するアプリケーションの設定を行う。\\ | Fedora 29 で Gnome セッションの自動起動設定を行うには、以下のファイルで自動起動するアプリケーションの設定を行う。\\ | ||
- | <code> | + | <WRAP color_term> |
- | $ mkdir ~/ | + | <WRAP color_command>< |
- | $ vi ~/ | + | <b class=GRN> |
- | </code> | + | <b class=GRN> |
- | <file autoconf | + | </pre></ |
+ | </WRAP> | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
[Desktop Entry] | [Desktop Entry] | ||
Type=Application | Type=Application | ||
行 566: | 行 607: | ||
Comment=GKrellM System Monitor | Comment=GKrellM System Monitor | ||
Exec=/ | Exec=/ | ||
- | </file> | + | EOF |
+ | </pre></ | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | [Desktop Entry] | ||
+ | Type=Application | ||
+ | Name=GKrellM | ||
+ | Comment=GKrellM System Monitor | ||
+ | Exec=/ | ||
+ | </ | ||
+ | </WRAP> | ||
^名前|GKrellM | ^名前|GKrellM | ||
^コマンド|gkrellm | ^コマンド|gkrellm | ||
行 574: | 行 627: | ||
===== プラグイン ===== | ===== プラグイン ===== | ||
dnf でインストール可能なプラグイン。\\ | dnf でインストール可能なプラグイン。\\ | ||
- | <code> | + | <WRAP color_term> |
- | gkrellm-sun.x86_64 : Sun clock plugin for GKrellM | + | <WRAP color_command>< |
- | gkrellm-top.x86_64 : GKrellM plugin which shows 3 most CPU intensive processes | + | <b class=GRN> |
- | gkrellm-wifi.x86_64 : Wireless monitor plugin for the GNU Krell Monitors | + | </ |
- | </code> | + | <WRAP color_result>< |
+ | メタデータの期限切れの最終確認: | ||
+ | =========================================== 名前 完全一致: | ||
+ | <b class=MAG> | ||
+ | ========================================= 名前 & 概要 一致: gkrellm ========================================== | ||
+ | <b class=MAG> | ||
+ | <b class=MAG> | ||
+ | ============================================= 名前 一致: | ||
+ | <b class=MAG> | ||
+ | <b class=MAG> | ||
+ | <b class=MAG> | ||
+ | <b class=MAG> | ||
+ | ============================================= 概要 一致: gkrellm ============================================= | ||
+ | gkrellxmms2.x86_64 : <b class=MAG> | ||
+ | </ | ||
+ | </WRAP> | ||
==== gkfreq プラグイン ==== | ==== gkfreq プラグイン ==== | ||
行 584: | 行 652: | ||
\\ | \\ | ||
CPU の現在のクロック周波数を表示する。\\ | CPU の現在のクロック周波数を表示する。\\ | ||
- | < | + | < |
- | <code> | + | <WRAP color_command>< |
- | $ sudo dnf install gkrellm-devel | + | <b class=GRN> |
- | $ curl -O https://ayera.dl.sourceforge.net/project/ | + | </ |
- | $ tar zxvf gkrellm-gkfreq-2.4.tar.gz | + | <WRAP color_result_long>< |
- | $ cd gkrellm-gkfreq-2.4 | + | メタデータの期限切れの最終確認: |
- | $ make | + | 依存関係が解決しました。 |
- | $ sudo cp gkrellm-gkfreq.so / | + | ============================================================================================================== |
- | </code> | + | |
+ | ============================================================================================================== | ||
+ | インストール: | ||
+ | <b class=GRN> | ||
+ | 依存関係のインストール: | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | |||
+ | トランザクションの概要 | ||
+ | ============================================================================================================== | ||
+ | インストール | ||
+ | |||
+ | ダウンロードサイズの合計: | ||
+ | インストール後のサイズ: | ||
+ | これでよろしいですか? | ||
+ | パッケージのダウンロード: | ||
+ | (1/45): brotli-devel-1.0.9-9.fc37.x86_64.rpm | ||
+ | (2/45): atk-devel-2.38.0-2.fc37.x86_64.rpm | ||
+ | (3/45): brotli-1.0.9-9.fc37.x86_64.rpm | ||
+ | (4/45): bzip2-devel-1.0.8-12.fc37.x86_64.rpm | ||
+ | (5/45): cairo-devel-1.17.6-2.fc37.x86_64.rpm | ||
+ | (6/45): fribidi-devel-1.0.12-2.fc37.x86_64.rpm | ||
+ | (7/45): gkrellm-devel-2.3.11-10.fc37.x86_64.rpm | ||
+ | (8/45): gdk-pixbuf2-devel-2.42.10-1.fc37.x86_64.rpm | ||
+ | (9/45): freetype-devel-2.12.1-3.fc37.x86_64.rpm | ||
+ | (10/45): graphite2-devel-1.3.14-10.fc37.x86_64.rpm | ||
+ | (11/45): harfbuzz-devel-5.2.0-1.fc37.x86_64.rpm | ||
+ | (12/45): libXau-devel-1.0.10-1.fc37.x86_64.rpm | ||
+ | (13/45): libXcursor-devel-1.2.1-2.fc37.x86_64.rpm | ||
+ | (14/45): libXext-devel-1.3.4-9.fc37.x86_64.rpm | ||
+ | (15/45): gtk2-devel-2.24.33-10.fc37.x86_64.rpm | ||
+ | (16/45): libXcomposite-devel-0.4.5-8.fc37.x86_64.rpm | ||
+ | (17/45): libXfixes-devel-6.0.0-4.fc37.x86_64.rpm | ||
+ | (18/45): libXft-devel-2.3.4-3.fc37.x86_64.rpm | ||
+ | (19/45): libXinerama-devel-1.1.4-11.fc37.x86_64.rpm | ||
+ | (20/45): libXrender-devel-0.9.10-17.fc37.x86_64.rpm | ||
+ | (21/45): libXrandr-devel-1.5.2-9.fc37.x86_64.rpm | ||
+ | (22/45): libblkid-devel-2.38.1-1.fc37.x86_64.rpm | ||
+ | (23/45): libdatrie-devel-0.2.13-4.fc37.x86_64.rpm | ||
+ | (24/45): libjpeg-turbo-devel-2.1.3-2.fc37.x86_64.rpm | ||
+ | (25/45): libicu-devel-71.1-2.fc37.x86_64.rpm | ||
+ | (26/45): libmount-devel-2.38.1-1.fc37.x86_64.rpm | ||
+ | (27/45): libpng-devel-1.6.37-13.fc37.x86_64.rpm | ||
+ | (28/45): libselinux-devel-3.4-5.fc37.x86_64.rpm | ||
+ | (29/45): libsepol-devel-3.4-3.fc37.x86_64.rpm | ||
+ | (30/45): libthai-devel-0.1.29-3.fc37.x86_64.rpm | ||
+ | (31/45): libXi-devel-1.8-3.fc37.x86_64.rpm | ||
+ | (32/45): libtiff-devel-4.4.0-4.fc37.x86_64.rpm | ||
+ | (33/45): pixman-devel-0.40.0-6.fc37.x86_64.rpm | ||
+ | (34/45): libxcb-devel-1.13.1-10.fc37.x86_64.rpm | ||
+ | (35/45): sysprof-capture-devel-3.46.0-1.fc37.x86_64.rpm | ||
+ | (36/45): xorg-x11-proto-devel-2022.2-2.fc37.noarch.rpm | ||
+ | (37/45): zlib-devel-1.2.12-5.fc37.x86_64.rpm | ||
+ | (38/45): fontconfig-devel-2.14.1-2.fc37.x86_64.rpm | ||
+ | (39/45): glib2-devel-2.74.6-1.fc37.x86_64.rpm | ||
+ | (40/45): libX11-devel-1.8.4-1.fc37.x86_64.rpm | ||
+ | (41/45): libffi-devel-3.4.4-1.fc37.x86_64.rpm | ||
+ | (42/45): libxml2-devel-2.10.3-2.fc37.x86_64.rpm | ||
+ | (43/45): pango-devel-1.50.13-1.fc37.x86_64.rpm | ||
+ | (44/45): xz-devel-5.4.1-1.fc37.x86_64.rpm | ||
+ | (45/45): pcre2-devel-10.40-1.fc37.1.x86_64.rpm | ||
+ | -------------------------------------------------------------------------------------------------------------- | ||
+ | 合計 | ||
+ | トランザクションの確認を実行中 | ||
+ | トランザクションの確認に成功しました。 | ||
+ | トランザクションのテストを実行中 | ||
+ | トランザクションのテストに成功しました。 | ||
+ | トランザクションを実行中 | ||
+ | 準備 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | インストール中 | ||
+ | scriptletの実行中: | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | 検証 | ||
+ | |||
+ | インストール済み: | ||
+ | atk-devel-2.38.0-2.fc37.x86_64 | ||
+ | brotli-devel-1.0.9-9.fc37.x86_64 | ||
+ | cairo-devel-1.17.6-2.fc37.x86_64 | ||
+ | freetype-devel-2.12.1-3.fc37.x86_64 | ||
+ | gdk-pixbuf2-devel-2.42.10-1.fc37.x86_64 | ||
+ | glib2-devel-2.74.6-1.fc37.x86_64 | ||
+ | gtk2-devel-2.24.33-10.fc37.x86_64 | ||
+ | libX11-devel-1.8.4-1.fc37.x86_64 | ||
+ | libXcomposite-devel-0.4.5-8.fc37.x86_64 | ||
+ | libXext-devel-1.3.4-9.fc37.x86_64 | ||
+ | libXft-devel-2.3.4-3.fc37.x86_64 | ||
+ | libXinerama-devel-1.1.4-11.fc37.x86_64 | ||
+ | libXrender-devel-0.9.10-17.fc37.x86_64 | ||
+ | libdatrie-devel-0.2.13-4.fc37.x86_64 | ||
+ | libicu-devel-71.1-2.fc37.x86_64 | ||
+ | libmount-devel-2.38.1-1.fc37.x86_64 | ||
+ | libselinux-devel-3.4-5.fc37.x86_64 | ||
+ | libthai-devel-0.1.29-3.fc37.x86_64 | ||
+ | libxcb-devel-1.13.1-10.fc37.x86_64 | ||
+ | pango-devel-1.50.13-1.fc37.x86_64 | ||
+ | pixman-devel-0.40.0-6.fc37.x86_64 | ||
+ | xorg-x11-proto-devel-2022.2-2.fc37.noarch | ||
+ | zlib-devel-1.2.12-5.fc37.x86_64 | ||
+ | |||
+ | 完了しました! | ||
+ | </ | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | % Total % Received % Xferd Average Speed | ||
+ | | ||
+ | 100 | ||
+ | 100 13391 100 13391 0 | ||
+ | </ | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | gkrellm-gkfreq-2.4/ | ||
+ | gkrellm-gkfreq-2.4/ | ||
+ | gkrellm-gkfreq-2.4/ | ||
+ | gkrellm-gkfreq-2.4/ | ||
+ | gkrellm-gkfreq-2.4/ | ||
+ | gkrellm-gkfreq-2.4/ | ||
+ | gkrellm-gkfreq-2.4/ | ||
+ | </ | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | gcc -fPIC -O2 -Wall `pkg-config gtk+-2.0 --cflags` -c gkrellm-gkfreq.c | ||
+ | gcc -shared | ||
+ | |||
+ | Compilation done! | ||
+ | |||
+ | If you want to try the plugin before installing you can run | ||
+ | gkrellm -p gkrellm-gkfreq.so | ||
+ | |||
+ | Install in either / | ||
+ | sudo make install | ||
+ | or in / | ||
+ | sudo make install-local | ||
+ | or in ~/ | ||
+ | make install-home | ||
+ | |||
+ | </ | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </pre></ | ||
</ | </ | ||
GKrellM を再起動して [設定] - [プラグイン] から gkrellm-gkfreq を有効にする。\\ | GKrellM を再起動して [設定] - [プラグイン] から gkrellm-gkfreq を有効にする。\\ | ||
- | GKrellM [設定] - [全般] の Krell と LED を1秒間に更新する回数: | + | GKrellM [設定] - [全般] の Krell と LED を1秒間に更新する回数: |
==== Sun Clock プラグイン ==== | ==== Sun Clock プラグイン ==== |