smartctl -l scttemp output question

tfran1990

Patron
Joined
Oct 18, 2017
Messages
294
when i run this command what does the ( X skipped) mean?
im guessing it skips outputing the temperature if its the same X times in a row.


Code:
root@freenas:~ # smartctl -l scttemp /dev/ada4
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SCT Status Version:                  3
SCT Version (vendor specific):       522 (0x020a)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    34 Celsius
Power Cycle Min/Max Temperature:     23/36 Celsius
Lifetime    Min/Max Temperature:     20/43 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        94 minutes
Min/Max recommended Temperature:      1/61 Celsius
Min/Max Temperature Limit:            2/60 Celsius
Temperature History Size (Index):    128 (29)

Index    Estimated Time   Temperature Celsius
  30    2019-03-20 14:16    31  ************
  31    2019-03-20 15:50    32  *************
  32    2019-03-20 17:24    32  *************
  33    2019-03-20 18:58    33  **************
  34    2019-03-20 20:32    33  **************
  35    2019-03-20 22:06    34  ***************
 ...    ..(  2 skipped).    ..  ***************
  38    2019-03-21 02:48    34  ***************
  39    2019-03-21 04:22    33  **************
  40    2019-03-21 05:56    33  **************
  41    2019-03-21 07:30    33  **************
  42    2019-03-21 09:04    32  *************
  43    2019-03-21 10:38    33  **************
  44    2019-03-21 12:12    32  *************
  45    2019-03-21 13:46    32  *************
  46    2019-03-21 15:20    33  **************
  47    2019-03-21 16:54    33  **************
  48    2019-03-21 18:28    34  ***************
  49    2019-03-21 20:02    34  ***************
  50    2019-03-21 21:36    35  ****************
  51    2019-03-21 23:10    35  ****************
  52    2019-03-22 00:44    34  ***************
  53    2019-03-22 02:18    34  ***************
  54    2019-03-22 03:52    33  **************
  55    2019-03-22 05:26    33  **************
  56    2019-03-22 07:00    32  *************
 ...    ..(  3 skipped).    ..  *************
  60    2019-03-22 13:16    32  *************
  61    2019-03-22 14:50    33  **************
  62    2019-03-22 16:24    33  **************
  63    2019-03-22 17:58    34  ***************
  64    2019-03-22 19:32    35  ****************
 ...    ..(  3 skipped).    ..  ****************
  68    2019-03-23 01:48    35  ****************
  69    2019-03-23 03:22    34  ***************
  70    2019-03-23 04:56    33  **************
  71    2019-03-23 06:30    33  **************
  72    2019-03-23 08:04    32  *************
  73    2019-03-23 09:38    32  *************
  74    2019-03-23 11:12    31  ************
  75    2019-03-23 12:46    32  *************
 ...    ..(  2 skipped).    ..  *************
  78    2019-03-23 17:28    32  *************
  79    2019-03-23 19:02    33  **************
 ...    ..(  6 skipped).    ..  **************
  86    2019-03-24 06:00    33  **************
  87    2019-03-24 07:34    32  *************
 ...    ..(  2 skipped).    ..  *************
  90    2019-03-24 12:16    32  *************
  91    2019-03-24 13:50    33  **************
  92    2019-03-24 15:24    33  **************
  93    2019-03-24 16:58    34  ***************
  94    2019-03-24 18:32    34  ***************
  95    2019-03-24 20:06    34  ***************
  96    2019-03-24 21:40    32  *************
  97    2019-03-24 23:14    32  *************
  98    2019-03-25 00:48    33  **************
  99    2019-03-25 02:22    32  *************
 100    2019-03-25 03:56    33  **************
 101    2019-03-25 05:30    33  **************
 102    2019-03-25 07:04    33  **************
 103    2019-03-25 08:38    34  ***************
 ...    ..(  3 skipped).    ..  ***************
 107    2019-03-25 14:54    34  ***************
 108    2019-03-25 16:28    35  ****************
 109    2019-03-25 18:02    35  ****************
 110    2019-03-25 19:36    36  *****************
 111    2019-03-25 21:10    34  ***************
 112    2019-03-25 22:44    33  **************
 113    2019-03-26 00:18    33  **************
 114    2019-03-26 01:52    34  ***************
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
when i run this command what does the ( X skipped) mean?
im guessing it skips outputing the temperature if its the same X times in a row.
It means the ones that were skipped were all the same. If there is no change, it saves memory by not making an additional record.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I think it just saves output lines, but yeah, they're unchanged.
 

tfran1990

Patron
Joined
Oct 18, 2017
Messages
294
lets say for years and years i run disc commands to check on the system, is there a log file that the terminal writes to?

It would be a good idea to delete the log file once in a while.
or does the file cap and over write itself?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
The results of the smartctl -x are pulled from the internal storage of the drive. It only holds a predefined amount of data and overwrites as needed.
The system log in FreeNAS is stored on disk, and also overwrites itself as needed.
 
Top