CPUなどの温度チェック aptitude install libsensors3 lm-sensors sensors-detect 以下の質問以外は全てデフォルト Do you want to add these lines to /etc/modules automatically? (yes/NO)yes コンピュータを再起動 ←カーネルモジュールの読み込みが必要なため? lsmod でモジュール組み込みを確認 i2c_senser があればOK sensors でCPU温度などを確認できる
CPU温度を切り出すスクリプトを作ればMRTGで管理できます。 スクリプトはこんな感じ。 #!/bin/sh statin=`/usr/bin/sensors | tail -n2 | head -n1 | cut -b15-17" " |tr \C " "` statout=`/usr/bin/sensors | tail -n4 | head -n1 | cut -b15-17" " |tr \C " "` echo $statin echo $statout
|
|
|
|
|