lm_sensors のインストールとセンサー設定 †
# yum install lm_sensors
# sensors-detect
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +0.0°C (crit = +127.0°C)
temp2: +0.0°C (crit = +95.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +29.0°C (crit = +90.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +29.0°C (crit = +90.0°C)
smartctlのインストール †
- インストール
# yum list | grep smart
libatasmart.i686 0.17-2.fc13 @released/$releasever
PackageKit-smart.i686 0.6.5-1.fc13 updates
fedora-package-config-smart.i686 13-21 updates
gdm-plugin-smartcard.i686 1:2.30.2-1.fc13 fedora
ksmarttray.i686 1.3-65.fc13 fedora
libatasmart-devel.i686 0.17-2.fc13 fedora
nagios-plugins-ide_smart.i686 1.4.14-3.fc13.1 fedora
smart.i686 1.3-65.fc13 fedora
smart-gui.i686 1.3-65.fc13 fedora
smart-update.i686 1.3-65.fc13 fedora
smartmontools.i686 1:5.39.1-1.fc13 fedora
xfce4-smartbookmark-plugin.i686 0.4.2-10.fc12 fedora
# yum -y install smartmontools
- 有効化
# smartctl -s on /dev/sda
smartctl 5.39.1 2010-01-28 r3054 [i386-redhat-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
- HDDの状態を確認してみる
# smartctl -A /dev/sda
smartctl 5.39.1 2010-01-28 r3054 [i386-redhat-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 186 185 021 Pre-fail Always - 1675
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 77
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 219
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 75
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 34
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 2868
194 Temperature_Celsius 0x0022 094 093 000 Old_age Always - 53
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0
電源 †
→ Fedora13 apcupsd
cacti †
→ Fedora13 cacti
Fedora 13 Server