[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RiminiLUG-General] La mia LinuxBox è diventata una lumaca! 2° parte



Grazie a tutti quelli che mi stanno aiutando!!!!!!!!
Rispondo con una nuova mail per fare un riassunto dei  consigli (molto
utili).

1°) Test generale sull' hardDisk

--- sime@my-laptop09:~$ sudo smartctl -H /dev/sda
   [sudo] password for sime: 
   smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce
Allen
   Home page is http://smartmontools.sourceforge.net/

   === START OF READ SMART DATA SECTION ===  
   SMART overall-health self-assessment test result: PASSED

2°) Un controllo un po più approfondito del disco

--- sime@my-laptop09:~$ sudo smartctl -t short /dev/sda
    smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce
Allen
    Home page is http://smartmontools.sourceforge.net/

    === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
    Sending command: "Execute SMART Short self-test routine immediately
in off-line mode".
    Drive command "Execute SMART Short self-test routine immediately in
off-line mode" successful.
    Testing has begun.
    Please wait 12 minutes for test to complete.
    Test will complete after Mon Sep 21 10:38:53 2009

    Use smartctl -X to abort test.
    sime@my-laptop09:~$

--- sime@my-laptop09:~$ sudo smartctl -a /dev/sda        --->Visualizzo
Report
    [sudo] password for sime:                   
    smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce
Allen
    Home page is
http://smartmontools.sourceforge.net/                       

    === START OF INFORMATION SECTION ===
    Model Family:     Hitachi Travelstar 5K160 series
    Device Model:     Hitachi HTS541616J9SA00       
    Serial Number:    SB2441SJCDAJTE                
    Firmware Version: SB4OC70P                      
    User Capacity:    160,041,885,696 bytes         
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   7                                             
    ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 1              
    Local Time is:    Mon Sep 21 10:54:42 2009 CEST                 
    SMART support is: Available - device has SMART capability.      
    SMART support is: Enabled                                       

     === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED

       General SMART Values:
    Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.             
                                        Auto Offline Data Collection:
Disabled.
    Self-test execution status:      ( 249) Self-test routine in
progress...      
                                            90% of test
remaining.                
    Total time to complete
Offline                                                
    data collection:                 ( 645)
seconds.                              
    Offline data
collection                                                       
    capabilities:                    (0x5b) SMART execute Offline
immediate.      
                                            Auto Offline data collection
on/off support.
                                            Suspend Offline collection
upon new        
                                           
command.                                   
                                            Offline surface scan
supported.            
                                            Self-test
supported.                       
                                            No Conveyance Self-test
supported.         
                                            Selective Self-test
supported.             
    SMART capabilities:            (0x0003) Saves SMART data before
entering           
                                            power-saving
mode.                         
                                            Supports SMART auto save
timer.            
    Error logging capability:        (0x01) Error logging
supported.                   
                                            General Purpose Logging
supported.         
    Short self-test
routine                                                            
    recommended polling time:        (  22)
minutes.                                   
    Extended self-test
routine                                                         
    recommended polling time:        ( 103)
minutes.                                   
   
    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     0x000b   100   100   062    Pre-fail 
Always       -       0
      2 Throughput_Performance  0x0005   100   100   040    Pre-fail 
Offline      -       0
      3 Spin_Up_Time            0x0007   240   240   033    Pre-fail 
Always       -       1
      4 Start_Stop_Count        0x0012   099   099   000    Old_age  
Always       -       2612
      5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail 
Always       -       0
      7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail 
Always       -       0
      8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail 
Offline      -       0
      9 Power_On_Hours          0x0012   088   088   000    Old_age  
Always       -       5536
     10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail 
Always       -       0
     12 Power_Cycle_Count       0x0032   099   099   000    Old_age  
Always       -       2211
    191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age  
Always       -       0
    192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age  
Always       -       72
    193 Load_Cycle_Count        0x0012   092   092   000    Old_age  
Always       -       89011
    194 Temperature_Celsius     0x0002   130   130   000    Old_age  
Always       -       42 (Lifetime Min/Max 9/48)
    196 Reallocated_Event_Count 0x0032   100   100   000    Old_age  
Always       -       15
    197 Current_Pending_Sector  0x0022   100   100   000    Old_age  
Always       -       0
    198 Offline_Uncorrectable   0x0008   100   100   000    Old_age  
Offline      -       0
    199 UDMA_CRC_Error_Count    0x000a   200   253   000    Old_age  
Always       -       1
    223 Load_Retry_Count        0x000a   100   100   000    Old_age  
Always       -       0
   
    SMART Error Log Version: 1
        No Errors Logged
   
    SMART Self-test log structure revision number 1
    No self-tests have been logged.  [To run self-tests, use: smartctl -t]
   
   
    SMART Selective self-test log data structure revision number 1
     SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
        1        0        0  Not_testing
        2        0        0  Not_testing
        3        0        0  Not_testing
        4        0        0  Not_testing
        5        0        0  Not_testing
    Selective self-test flags (0x0):
      After scanning selected spans, do NOT read-scan remainder of disk.
        If Selective self-test is pending on power-up, resume after 0
minute delay.
   
    sime@my-laptop09:~$




3°) Mentre l'harddisk lavora a manetta:

--- sime@my-laptop09:~$ free -m
                 total       used       free     shared    buffers    
cached
    Mem:          2013       1371        642          0       
237        562
    -/+ buffers/cache:        571       1441
    Swap:         2110          0       2110

 4°) Come devo filtrare/elaborare  l'OUTPUT di fuser?:
--- sime@my-laptop09:~$ sudo fuser -m /dev/sda2
    /dev/sda2:               1rce     2rc     3rc     4rc     5rc    
6rc     7rc     8rc     9rc    10rc    11rc    12rc    13rc    14rc   
15rc    16rc    17rc    18rc    19rc            20rc    21rc    22rc   
23rc    24rc    25rc    26rc    27rc    28rc    29rc    30rc    31rc   
32rc    33rc    34rc    35rc    38rc    39rc    40rc    41rc    42rc   
        43    rc    44rc 45rc    46rc    47rc    48rc    49rc    50rc   
51rc   353rc   574rc   811rc   945rce  1694rc  1696rc  1713rc  1715rc 
1716rc  2143rc  2144rc     2145rc  2146rc  2147rc  2148rc  2769re 
2770re  2773re  2776re  2777re  2844rce  2889rce  2912rce  2914rce 
2937rce  3305rce  3361rce  3388rce      3428rce  3431rce  3494rce 
3523rce  3536rce  3547rce  3549rce  3562rce 3563rce  3564rce  3608rce 
3631rce  3647rce  3648rce  3662rce  3668rce      3672rce  3673rce 
3700rce  3721rce  3799rce  3827rce  3942re  3958rce  3976re  4021rce 
4022rce  4025rce  4026rce  4064re  4065re  4067re              4123re 
4124re  4126re  4129re  4136re  4137re  4139re  4151re  4153re  4161re 
4171re  4174re  4176re  4177re  4186re  4189re  4199re  4213re     
4214re  4278re  4279re  4576rce  4701rce  5415re  7359re  7363re 
8350re  8355rce 12605re 12617re 12621re 12752re 13458re 15252re 17370re
        25541re 25633re 26034re
sime@my-laptop09:~$


Noto che con Htop ho un utilizzo medio delle CPU a  al  8% ,  mentre
conMonitor di sistema è al 50%. Quale dei due è corretto?