Jun. 25th, 2013

oio11: (Default)
к постам ---

Мониторинг жестких дисков (smartmontools)

Узнаём данные S.M.A.R.T. в Linux. Контроль состояния HDD или SSD

CUSTOMIZE YOUR SHELL MOTD


Linux: Monitor Hard Disks Temperature With hddtemp

by on October 8, 2007 · 28 comments· LAST UPDATED July 7, 2010

in , ,

There is a nice utility to monitor hard drive temperature. Most modern x86 computer hard disk comes with S.M.A.R.T (Self-Monitoring, Analysis, and Reporting Technology). It is a monitoring system for computer hard disks to detect and report on various indicators of reliability, in the hope of anticipating failures.

=> hddtemp utility will give you the temperature of your hard drive by reading data from S.M.A.R.T. on drives that support this feature. Only modern hard drives have a temperature sensor. hddtemp supports reading S.M.A.R.T. information from SCSI drives too. hddtemp can work as simple command line tool or as a daemon to get information from all servers.

oio11: (Default)
sensors-detect tells me:
To load everything that is needed, add this to /etc/modules:
# Chip drivers coretemp w83627ehf 
If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones!
How can I find out which drivers are appropriate to skip, if any?
shareimprove this question
   
up vote 2 down vote accepted
  • The canonical method is to check your running kernel config, but this can be hard to parse because it will include both modules and other options and the names may not correspond:
    
    grep "=y" /boot/config-`uname -r`
  • Practically, it's much easier to simply do a:
    
    locate name-of-module | grep `uname -r`.*ko`
    
    (((?или locate name-of-module | grep `uname -r`.*ko )))
    (make sure the database has been recently updated, with sudo updatedb if necessary)
    If you see a .ko file entry like:
    
    /lib/modules/3.2.0-29-generic/kernel/drivers/hwmon/coretemp.ko
    then this module is NOT built-in and can properly be added to /etc/modules
    • But if you get no results in /lib/modules, then the module IS built-in and there may be no need to explicitly load it.
  • A variation to find all non-built-in modules in /lib/modules is:
    
    locate /lib/modules/`uname -r` | grep -Po "(?<=/)\w+(?=\.ko)"
shareimprove this answer


http://askubuntu.com/questions/181433/how-can-i-find-out-what-drivers-are-built-into-my-kernel

May 2025

S M T W T F S
    123
45678910
11121314151617
181920212223 24
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 24th, 2025 05:27 pm
Powered by Dreamwidth Studios