Jump to content
2,188 posts in this topic

Recommended Posts

On 23/3/2018 at 7:00 AM, Cyberdevs said:
  Reveal hidden contents

Got a NVMe disk..
h is what is expected
si is what is expected
2018-03-23 10:27:08.275 smarter-4[3279:217917] {
    914 =     {
        "914 Number of error Log Entries (UInt64)" = 0;
        flag = 1;
    };
    912 =     {
        "912 Unsafe Shutdowns (UInt64)" = 0;
        flag = 1;
    };
    910 =     {
        "910 Power Cycles (UInt64)" = 0;
        flag = 1;
    };
    908 =     {
        "908 Host Write Commands (UInt64)" = 0;
        flag = 1;
    };
    906 =     {
        "906 Data Units Written (UInt64)" = 0;
        flag = 1;
    };
    904 =     {
        "904 Percentage Used (UInt8)" = 0;
        flag = 1;
    };
    902 =     {
        "902 Available Spare (UInt8)" = 0;
        flag = 1;
    };
    900 =     {
        "900 Critical Warning (UInt8)" = 0;
        flag = 1;
    };
    913 =     {
        "913 Media and Data Integrity Errors (UInt64)" = 0;
        flag = 1;
    };
    911 =     {
        "911 Power On Hours (UInt64)" = 0;
        flag = 1;
    };
    909 =     {
        "909 Controller Busy Time (UInt64)" = 0;
        flag = 1;
    };
    907 =     {
        "907 Host Read Commands (UInt64)" = 0;
        flag = 1;
    };
    905 =     {
        "905 Data unitd read (UInt64)" = 0;
        flag = 1;
    };
    903 =     {
        "903 Available Spare Threshold (UInt8)" = 0;
        flag = 1;
    };
    901 =     {
        "901 Temperature kelvin (UInt16)" = 65263;
        flag = 1;
    };
}
Got a NVMe disk..
h is what is expected
si is what is expected
Error: S.M.A.R.T. check downgraded result for disk0 from VERIFIED to UNKNOWN because some error(-536870178) occured.
S.M.A.R.T. status: Unknown

The last one is working.

  Reveal hidden contents

Got a ATA like disk..
2018-03-23 10:29:28.460 smarter-4[3281:218734] {
    194 =     {
        "Pre-fail" = 0;
        RawValue = 36;
        Threshold = 0;
        Value = 107;
        WorstValue = 107;
        flag = 1;
    };
    5 =     {
        "Pre-fail" = 1;
        RawValue = 0;
        Threshold = 140;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    240 =     {
        "Pre-fail" = 0;
        RawValue = 1072;
        Threshold = 0;
        Value = 99;
        WorstValue = 99;
        flag = 1;
    };
    199 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    196 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    10 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
    193 =     {
        "Pre-fail" = 0;
        RawValue = 181427;
        Threshold = 0;
        Value = 140;
        WorstValue = 140;
        flag = 1;
    };
    7 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    242 =     {
        "Pre-fail" = 0;
        RawValue = 4704679194;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    4 =     {
        "Pre-fail" = 0;
        RawValue = 200;
        Threshold = 0;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
    198 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 0;
    };
    12 =     {
        "Pre-fail" = 0;
        RawValue = 169;
        Threshold = 0;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
    1 =     {
        "Pre-fail" = 1;
        RawValue = 0;
        Threshold = 51;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
    9 =     {
        "Pre-fail" = 0;
        RawValue = 2521;
        Threshold = 0;
        Value = 97;
        WorstValue = 97;
        flag = 1;
    };
    192 =     {
        "Pre-fail" = 0;
        RawValue = 35;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    241 =     {
        "Pre-fail" = 0;
        RawValue = 4645587437;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    200 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 0;
    };
    3 =     {
        "Pre-fail" = 1;
        RawValue = 2333;
        Threshold = 21;
        Value = 173;
        WorstValue = 173;
        flag = 1;
    };
    197 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 200;
        WorstValue = 200;
        flag = 1;
    };
    11 =     {
        "Pre-fail" = 0;
        RawValue = 0;
        Threshold = 0;
        Value = 100;
        WorstValue = 100;
        flag = 1;
    };
}
Got ATA-like disk..
S.M.A.R.T. status: Ok

 

 

On 21/3/2018 at 11:03 PM, fabiosun said:

better of nothing :)

 

 

23 hours ago, magnifico said:

Che test ti occorrono , ho Nvme ..fammi sapere 

Guys can you try this smarter.zip and post the output?

smarter disk0 

change "disk0" to match your nvme disk!

P.S. I assume on SATA is already good

 

  • Like 2
Link to comment
Share on other sites

fabios-iMac-Pro:~ fabio$ /Users/fabio/Downloads/smarter disk0
Medium Type:       SSD
Protocol:          PCI-Express
Location:          Internal
NVMe there!
Temperature:                  44C°
Life used:                    0%
Critical Warning:             0%
Available Spare:              100%
Available Spare Threshold:    10%
Unsafe Shutdowns:             526%
S.M.A.R.T. status: Ok

S.M.A.R.T. data (512 bytes):
UInt8 smartdata[] = {
	0x60, 0xB1, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF, 
	0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6, 
	0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xF0, 0xA6, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xD0, 0x75, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xC1, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x70, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x2B, 0xAA, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xCC, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0xC0, 0x87, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0xDB, 0x9E, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x60, 0xA5, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xBF, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0xB0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xFB, 0x3A, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xD0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x6E, 0x3C, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xDF, 0x9E, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xF0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xE8, 0xDD, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x60, 0xE1, 0x2B, 0x5D, 0xFF, 0x7F, 0x00, 0x00, 
	0x50, 0x42, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x30, 0x71, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xCE, 0x86, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xBF, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0x90, 0x72, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x46, 0x40, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x50, 0x71, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x60, 0xE1, 0x2B, 0x5D, 0xFF, 0x7F, 0x00, 0x00, 
	0x90, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x60, 0x34, 0xDB, 0x8F, 0x00, 0x00, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xC1, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xC0, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xEB, 0x01, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

fabios-iMac-Pro:~ fabio$ 

 

Link to comment
Share on other sites

1 minute ago, fabiosun said:

fabios-iMac-Pro:~ fabio$ /Users/fabio/Downloads/smarter disk0
Medium Type:       SSD
Protocol:          PCI-Express
Location:          Internal
NVMe there!
Temperature:                  44C°
Life used:                    0%
Critical Warning:             0%
Available Spare:              100%
Available Spare Threshold:    10%
Unsafe Shutdowns:             526%
S.M.A.R.T. status: Ok

S.M.A.R.T. data (512 bytes):
UInt8 smartdata[] = {
	0x60, 0xB1, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF, 
	0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6, 
	0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xF0, 0xA6, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xD0, 0x75, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xC1, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x70, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x2B, 0xAA, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xCC, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0xC0, 0x87, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0xDB, 0x9E, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x60, 0xA5, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xBF, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0xB0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xFB, 0x3A, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xD0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x6E, 0x3C, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xDF, 0x9E, 0x10, 0xCF, 0xFF, 0x7F, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xF0, 0x70, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xE8, 0xDD, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x60, 0xE1, 0x2B, 0x5D, 0xFF, 0x7F, 0x00, 0x00, 
	0x50, 0x42, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x30, 0x71, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0xCE, 0x86, 0x73, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0xAA, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x66, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x88, 0x50, 0x77, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0xBF, 0x49, 0x10, 0x06, 0x01, 0x00, 0x00, 0x00, 
	0x90, 0x72, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x46, 0x40, 0x74, 0x13, 0x01, 0x00, 0x00, 0x00, 
	0x28, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x50, 0x71, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x60, 0xE1, 0x2B, 0x5D, 0xFF, 0x7F, 0x00, 0x00, 
	0x90, 0x73, 0xB0, 0xE9, 0xFE, 0x7F, 0x00, 0x00, 
	0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x60, 0x34, 0xDB, 0x8F, 0x00, 0x00, 0x00, 0x00, 
	0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0xC1, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xC0, 0x7E, 0xE0, 0x35, 0xAE, 0x7F, 0x00, 0x00, 
	0xEB, 0x01, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

fabios-iMac-Pro:~ fabio$ 

 

Grazie Fabio per i test!

Thank you so much for the tests made! Is ok and HWMonitorSMC will be able to read s.m.a.r.t. status on nvme disks without buying programs :thumbsup_anim:

Unsafe Shutdowns:             526%

The percentage is a mistake, already corrected here.

P.S. I was able to find the way using virtualbox with a virtual nvme disk B).  I'll do a translation of this program in swift, then I'll let you know!

  • Like 1
Link to comment
Share on other sites

38 minutes ago, vector sigma said:

Guys can you try this smarter.zip and post the output?


smarter disk0 

change "disk0" to match your nvme disk!

P.S. I assume on SATA is already good

 

Spoiler

 

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  52C°

Life used:                    1%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             34%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0xA0, 0xB0, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,

0xDF, 0x0E, 0xB5, 0xEC, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x30, 0xA6, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xB0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xE8, 0x5D, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x50, 0xC2, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xF0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xCE, 0x06, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0x2A, 0xCC, 0x12, 0x01, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x50, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x46, 0xC0, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0xE8, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x10, 0xC0, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x42, 0x43, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x80, 0xB0, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0xDA, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xE3, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x90, 0xC2, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x06, 0x3A, 0x5A, 0x53, 0xFF, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x90, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xBF, 0x33, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0xD0, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0xEA, 0x81, 0xAD, 0xFF, 0x7F, 0x00, 0x00,

0xD1, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x40, 0xC3, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x60, 0xA4, 0x7F, 0xAD, 0x00, 0x00, 0x00, 0x00,

0xCC, 0x00, 0xF8, 0xEA, 0xC7, 0x90, 0x80, 0x6C,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00

}

 

Thanks man :)

  • Thanks 1
Link to comment
Share on other sites

Just now, Cyberdevs said:
  Reveal hidden contents

 

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  52C°

Life used:                    1%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             34%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0xA0, 0xB0, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,

0xDF, 0x0E, 0xB5, 0xEC, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x30, 0xA6, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xB0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xE8, 0x5D, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x50, 0xC2, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xF0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xCE, 0x06, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0x2A, 0xCC, 0x12, 0x01, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x50, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x46, 0xC0, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0xE8, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x10, 0xC0, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x42, 0x43, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x80, 0xB0, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0xDA, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xE3, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x90, 0xC2, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x06, 0x3A, 0x5A, 0x53, 0xFF, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x90, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xBF, 0x33, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0xD0, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0xEA, 0x81, 0xAD, 0xFF, 0x7F, 0x00, 0x00,

0xD1, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x40, 0xC3, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x60, 0xA4, 0x7F, 0xAD, 0x00, 0x00, 0x00, 0x00,

0xCC, 0x00, 0xF8, 0xEA, 0xC7, 0x90, 0x80, 0x6C,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00

}

 

Thanks man :)

Works for you? :drool:

  • Thanks 1
Link to comment
Share on other sites

1 minute ago, vector sigma said:

Works for you? :drool:

Yes it does I posted the results in my previous post but I guess it got lost in too many spoilers :D here it is again just in case

Spoiler

 

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  52C°

Life used:                    1%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             34%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0xA0, 0xB0, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,

0xDF, 0x0E, 0xB5, 0xEC, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x30, 0xA6, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xB0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xE8, 0x5D, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x50, 0xC2, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xF0, 0xBF, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xCE, 0x06, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0x2A, 0xCC, 0x12, 0x01, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0x88, 0xD0, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x50, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x46, 0xC0, 0xC8, 0x12, 0x01, 0x00, 0x00, 0x00,

0xE8, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x10, 0xC0, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x60, 0x51, 0xD0, 0x7A, 0xFF, 0x7F, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x42, 0x43, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x80, 0xB0, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0xDA, 0x1C, 0x0B, 0x01, 0x00, 0x00, 0x00,

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xE3, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x90, 0xC2, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x06, 0x3A, 0x5A, 0x53, 0xFF, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0x74, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x90, 0xC1, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0xBF, 0x33, 0xAD, 0x7B, 0xFF, 0x7F, 0x00, 0x00,

0xD0, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0xF0, 0xEA, 0x81, 0xAD, 0xFF, 0x7F, 0x00, 0x00,

0xD1, 0x7D, 0x50, 0x42, 0xD6, 0x7F, 0x00, 0x00,

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x40, 0xC3, 0xA4, 0xE4, 0xFE, 0x7F, 0x00, 0x00,

0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x60, 0xA4, 0x7F, 0xAD, 0x00, 0x00, 0x00, 0x00,

0xCC, 0x00, 0xF8, 0xEA, 0xC7, 0x90, 0x80, 0x6C,

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0x08, 0xE6, 0xCB, 0x12, 0x01, 0x00, 0x00, 0x00,

0xBF, 0xF9, 0x1B, 0x0B, 0x01, 0x00, 0x00, 0x00

}

 

 

  • Like 1
Link to comment
Share on other sites

Vector 

 

iMacdimagnifico:~ magnifico$ /Users/magnifico/Desktop/smarter disk0

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  42C°

Life used:                    0%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             330%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x80, 0xB6, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF, 

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6, 

0xE8, 0x41, 0x44, 0xEA, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x10, 0xAC, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x88, 0x00, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xB0, 0x3F, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xE8, 0x8D, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x60, 0xD1, 0x37, 0x62, 0xFF, 0x7F, 0x00, 0x00, 

0x50, 0xF2, 0x34, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xF0, 0x3F, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xCE, 0x36, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x5A, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x16, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x88, 0x00, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xBF, 0x79, 0x7C, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x50, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x46, 0xF0, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xE8, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x10, 0x40, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x60, 0xD1, 0x37, 0x62, 0xFF, 0x7F, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x42, 0xC3, 0x14, 0x63, 0xFF, 0x7F, 0x00, 0x00, 

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x80, 0x30, 0x7D, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x6E, 0x7D, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xD3, 0x7A, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xA0, 0x42, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x06, 0xFA, 0xC1, 0x3A, 0xFF, 0x7F, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xE0, 0x7A, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0xA0, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xBF, 0xB3, 0x14, 0x63, 0xFF, 0x7F, 0x00, 0x00, 

0xC0, 0x83, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xF0, 0xAA, 0xE9, 0x94, 0xFF, 0x7F, 0x00, 0x00, 

0xC1, 0x83, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x50, 0x43, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x19, 0x00, 0x86, 0xD1, 0x17, 0x7A, 0x09, 0x50, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x16, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xBF, 0x79, 0x7C, 0x05, 0x01, 0x00, 0x00, 0x00, 

0xE8, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xC0, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00

}

 

iMacdimagnifico:~ magnifico$ 

  • Thanks 1
Link to comment
Share on other sites

SMARTER Values for a PCIe Samsung NVMe 960EVO:

Spoiler

Medium Type:       SSD
Protocol:          PCI-Express
Location:          Internal
NVMe there!
Temperature:                  35C°
Life used:                    1%
Critical Warning:             0%
Available Spare:              100%
Available Spare Threshold:    10%
Unsafe Shutdowns:             2533%
S.M.A.R.T. status: Ok

S.M.A.R.T. data (512 bytes):
UInt8 smartdata[] = {
    0x10, 0xAD, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,
    0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,
    0x28, 0x92, 0x90, 0xEB, 0x01, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xA0, 0xA2, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x88, 0x50, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xF0, 0x8F, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xE8, 0xDD, 0x34, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x60, 0x31, 0x3B, 0x57, 0xFF, 0x7F, 0x00, 0x00,
    0x50, 0x42, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x30, 0x90, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xCE, 0x86, 0x34, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0xA9, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0x65, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x88, 0x50, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xBF, 0x29, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x90, 0x91, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x46, 0x40, 0x35, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x28, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x50, 0x90, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x60, 0x31, 0x3B, 0x57, 0xFF, 0x7F, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x42, 0x23, 0x18, 0x58, 0xFF, 0x7F, 0x00, 0x00,
    0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x80, 0xE0, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x32, 0x31, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x93, 0x71, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xE0, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x06, 0x1A, 0xC5, 0x2F, 0xFF, 0x7F, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xA0, 0x71, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0xE0, 0x91, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xBF, 0x13, 0x18, 0x58, 0xFF, 0x7F, 0x00, 0x00,
    0x80, 0x7A, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF0, 0x3A, 0x75, 0x8A, 0xFF, 0x7F, 0x00, 0x00,
    0x81, 0x7A, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x90, 0x93, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x7A, 0x00, 0xAA, 0x7A, 0x3C, 0xB6, 0x10, 0x80,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0x65, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xBF, 0x29, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x28, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x00, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00
}

seems to work here either.

Edited by Mork vom Ork
  • Thanks 1
Link to comment
Share on other sites

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk1

Medium Type:       HDD

Protocol:          SATA

Location:          Internal

Temperature:       55834574882C°

S.M.A.R.T. check disk1:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x0A, 0x00, 0x01, 0x0F, 0x00, 0x6C, 0x63, 0x60, 

0xE4, 0x35, 0x01, 0x00, 0x00, 0x00, 0x03, 0x03, 

0x00, 0x61, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x04, 0x32, 0x00, 0x5D, 0x5D, 0x24, 

0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x33, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x07, 0x0F, 0x00, 0x54, 0x3C, 0xE9, 

0x26, 0x32, 0x0E, 0x00, 0x00, 0x00, 0x09, 0x32, 

0x00, 0x5F, 0x5F, 0x08, 0x12, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x0A, 0x13, 0x00, 0x64, 0x63, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x32, 

0x00, 0x60, 0x60, 0x77, 0x11, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBB, 0x32, 0x00, 0x01, 0x01, 0x68, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBD, 0x3A, 

0x00, 0x60, 0x60, 0x04, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBE, 0x22, 0x00, 0x42, 0x35, 0x22, 

0x00, 0x12, 0x22, 0x00, 0x00, 0x00, 0xC2, 0x22, 

0x00, 0x22, 0x2F, 0x22, 0x00, 0x00, 0x00, 0x0D, 

0x00, 0x00, 0xC3, 0x1A, 0x00, 0x4F, 0x3F, 0x6E, 

0xF9, 0xE1, 0x02, 0x00, 0x00, 0x00, 0xC5, 0x12, 

0x00, 0x64, 0x64, 0x06, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC6, 0x10, 0x00, 0x64, 0x64, 0x06, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x3E, 

0x00, 0xC8, 0xC8, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC8, 0x00, 0x00, 0x64, 0xFD, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCA, 0x32, 

0x00, 0x64, 0xFD, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x82, 0x00, 0xAE, 0x01, 0x00, 0x5B, 

0x03, 0x00, 0x01, 0x00, 0x01, 0x5C, 0x02, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x03, 

0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 

0x5A, 0xE1, 0x52, 0x0F, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x50, 0x3B, 0x7A, 0x6E, 0xF9, 0x01, 

0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x5A, 0xE1, 0x52, 0x0F, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0F, 0x00, 

0x00, 0x00, 0xCE, 0x05, 0xE5, 0x7E, 0x03, 0x00, 

0x00, 0x00, 0x14, 0xAA, 0x1D, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x08, 0x12, 0x00, 0x00, 0x00, 0x00, 

0x81, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76

}

iMac-di-Fabio:~ fabio$ 

Edited by Alpha22
Link to comment
Share on other sites

14 hours ago, magnifico said:

Vector 

 

 

  Reveal hidden contents

 

iMacdimagnifico:~ magnifico$ /Users/magnifico/Desktop/smarter disk0

Medium Type:       SSD

Protocol:          PCI-Express

Location:          Internal

NVMe there!

Temperature:                  42C°

Life used:                    0%

Critical Warning:             0%

Available Spare:              100%

Available Spare Threshold:    10%

Unsafe Shutdowns:             330%

S.M.A.R.T. status: Ok

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x80, 0xB6, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF, 

0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6, 

0xE8, 0x41, 0x44, 0xEA, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x10, 0xAC, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x88, 0x00, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xB0, 0x3F, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xE8, 0x8D, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x60, 0xD1, 0x37, 0x62, 0xFF, 0x7F, 0x00, 0x00, 

0x50, 0xF2, 0x34, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xF0, 0x3F, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xCE, 0x36, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x5A, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x16, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0x88, 0x00, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xBF, 0x79, 0x7C, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x50, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x46, 0xF0, 0x31, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xE8, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x10, 0x40, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x60, 0xD1, 0x37, 0x62, 0xFF, 0x7F, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x42, 0xC3, 0x14, 0x63, 0xFF, 0x7F, 0x00, 0x00, 

0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x80, 0x30, 0x7D, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x6E, 0x7D, 0x05, 0x01, 0x00, 0x00, 0x00, 

0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xD3, 0x7A, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xA0, 0x42, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x06, 0xFA, 0xC1, 0x3A, 0xFF, 0x7F, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xE0, 0x7A, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0xA0, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xBF, 0xB3, 0x14, 0x63, 0xFF, 0x7F, 0x00, 0x00, 

0xC0, 0x83, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0xF0, 0xAA, 0xE9, 0x94, 0xFF, 0x7F, 0x00, 0x00, 

0xC1, 0x83, 0xD0, 0x14, 0xD2, 0x7F, 0x00, 0x00, 

0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x50, 0x43, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0x19, 0x00, 0x86, 0xD1, 0x17, 0x7A, 0x09, 0x50, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x08, 0x16, 0x35, 0x07, 0x01, 0x00, 0x00, 0x00, 

0xBF, 0x79, 0x7C, 0x05, 0x01, 0x00, 0x00, 0x00, 

0xE8, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00, 

0xC0, 0x41, 0x44, 0xEA, 0xFE, 0x7F, 0x00, 0x00

}

 

iMacdimagnifico:~ magnifico$ 

 

 

12 hours ago, Mork vom Ork said:

SMARTER Values for a PCIe Samsung NVMe 960EVO:

  Reveal hidden contents

Medium Type:       SSD
Protocol:          PCI-Express
Location:          Internal
NVMe there!
Temperature:                  35C°
Life used:                    1%
Critical Warning:             0%
Available Spare:              100%
Available Spare Threshold:    10%
Unsafe Shutdowns:             2533%
S.M.A.R.T. status: Ok

S.M.A.R.T. data (512 bytes):
UInt8 smartdata[] = {
    0x10, 0xAD, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0xCC, 0xD1, 0xDB, 0x19, 0xFD, 0x9A, 0x4D, 0xAF,
    0xBF, 0x95, 0x12, 0x45, 0x4B, 0x23, 0x0A, 0xB6,
    0x28, 0x92, 0x90, 0xEB, 0x01, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xA0, 0xA2, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x88, 0x50, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xF0, 0x8F, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xE8, 0xDD, 0x34, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x60, 0x31, 0x3B, 0x57, 0xFF, 0x7F, 0x00, 0x00,
    0x50, 0x42, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x30, 0x90, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xCE, 0x86, 0x34, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0xA9, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0x65, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x88, 0x50, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xBF, 0x29, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x90, 0x91, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x46, 0x40, 0x35, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0x28, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x50, 0x90, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x60, 0x31, 0x3B, 0x57, 0xFF, 0x7F, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x42, 0x23, 0x18, 0x58, 0xFF, 0x7F, 0x00, 0x00,
    0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x80, 0xE0, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x32, 0x31, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x78, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x93, 0x71, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xE0, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x06, 0x1A, 0xC5, 0x2F, 0xFF, 0x7F, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xA0, 0x71, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0xE0, 0x91, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0xBF, 0x13, 0x18, 0x58, 0xFF, 0x7F, 0x00, 0x00,
    0x80, 0x7A, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF0, 0x3A, 0x75, 0x8A, 0xFF, 0x7F, 0x00, 0x00,
    0x81, 0x7A, 0x70, 0xFE, 0xBC, 0x7F, 0x00, 0x00,
    0x00, 0x07, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x90, 0x93, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x7A, 0x00, 0xAA, 0x7A, 0x3C, 0xB6, 0x10, 0x80,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xF8, 0x65, 0x38, 0x0F, 0x01, 0x00, 0x00, 0x00,
    0xBF, 0x29, 0x30, 0x04, 0x01, 0x00, 0x00, 0x00,
    0x28, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00,
    0x00, 0x92, 0x90, 0xEB, 0xFE, 0x7F, 0x00, 0x00
}

seems to work here either.

Thanks so much, nvme looks very good and your values can be trusted.

Edited by vector sigma
value(s)
Link to comment
Share on other sites

1 hour ago, Alpha22 said:

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk1

Medium Type:       HDD

Protocol:          SATA

Location:          Internal

Temperature:       55834574882C°

S.M.A.R.T. check disk1:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

 

iMac-di-Fabio:~ fabio$ 

Hi Fabio, your instead is bad but I think that the program should have exited before showing untrue data because it says "no resources". Can you kindly show me the output of:

diskutil list

and also

diskutil info disk1

thanks

Edited by vector sigma
typo
  • Like 1
Link to comment
Share on other sites

 

here's to you :

Last login: Mon Apr  9 21:04:33 on console

iMac-di-Fabio:~ fabio$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *120.0 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk2         119.8 GB   disk0s2

 

/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *250.1 GB   disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                  Apple_HFS macOS Sierra            249.2 GB   disk1s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

 

/dev/disk2 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +119.8 GB   disk2

                                 Physical Store disk0s2

   1:                APFS Volume macOS High Sierra       97.7 GB    disk2s1

   2:                APFS Volume Preboot                 21.9 MB    disk2s2

   3:                APFS Volume Recovery                517.8 MB   disk2s3

   4:                APFS Volume VM                      20.5 KB    disk2s4

 

iMac-di-Fabio:~ fabio$ diskutil info disk1

   Device Identifier:        disk1

   Device Node:              /dev/disk1

   Whole:                    Yes

   Part of Whole:            disk1

   Device / Media Name:      MAXTOR STM3250310AS

 

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

 

   Content (IOContent):      GUID_partition_scheme

   OS Can Be Installed:      No

   Media Type:               Generic

   Protocol:                 SATA

   SMART Status:             Verified

 

   Disk Size:                250.1 GB (250059350016 Bytes) (exactly 488397168 512-Byte-Units)

   Device Block Size:        512 Bytes

 

   Read-Only Media:          No

   Read-Only Volume:         Not applicable (no file system)

 

   Device Location:          Internal

   Removable Media:          Fixed

 

   Solid State:              No

   Virtual:                  No

   Hardware AES Support:     No

 

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk0

Medium Type:       SSD

Protocol:          SATA

Location:          Internal

Temperature:       25C°

Life:              98%

S.M.A.R.T. check disk0:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x01, 0x00, 0x05, 0x33, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x32, 

0x00, 0x63, 0x63, 0x03, 0x11, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x0C, 0x32, 0x00, 0x60, 0x60, 0x96, 

0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1, 0x13, 

0x00, 0x62, 0x62, 0x12, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xB3, 0x13, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB5, 0x32, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xB6, 0x32, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB7, 0x13, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBB, 0x32, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBE, 0x32, 

0x00, 0x4B, 0x3A, 0x19, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC3, 0x1A, 0x00, 0xC8, 0xC8, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x3E, 

0x00, 0x63, 0x63, 0x80, 0x03, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xEB, 0x12, 0x00, 0x63, 0x63, 0xB5, 

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x32, 

0x00, 0x63, 0x63, 0x27, 0xC3, 0xC3, 0x38, 0x01, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x68, 0x10, 0x00, 0x53, 

0x03, 0x00, 0x01, 0x00, 0x02, 0x46, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCC

}

iMac-di-Fabio:~ fabio$

  • Thanks 1
Link to comment
Share on other sites

@vector sigma

Look, please, some error in the package when install only HWMonitorSMC2

Quote

Apr  7 13:14:12 iHack installd[837]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.PN6Oql/Scripts/org.slice.hwsensors.HWMonitorSMC2.rE6YES

Apr  7 13:14:12 iHack installd[837]: ./postinstall: The file /Applications/HWMonitorSMC.app does not exist.

Apr  7 13:14:12 iHack install_monitor[2904]: Re-included: /Applications, /Developer, /Library, /System, /bin, /private, /sbin, /usr

Apr  7 13:14:13 iHack installd[837]: PackageKit: releasing backupd

Apr  7 13:14:13 iHack installd[837]: PackageKit: allow user idle system sleep

Apr  7 13:14:13 iHack installd[837]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “HWSensors-3_r116.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Users/ilya/Downloads/HWSensors-3_r116.pkg#HWMonitorSMC2.pkg, PKInstallPackageIdentifier=org.slice.hwsensors.HWMonitorSMC2, NSLocalizedDescription=An error occurred while running scripts from the package “HWSensors-3_r116.pkg”.} {

        NSFilePath = "./postinstall";

        NSLocalizedDescription = "An error occurred while running scripts from the package \U201cHWSensors-3_r116.pkg\U201d.";

        NSURL = "file://localhost/Users/ilya/Downloads/HWSensors-3_r116.pkg#HWMonitorSMC2.pkg";

        PKInstallPackageIdentifier = "org.slice.hwsensors.HWMonitorSMC2";

    }

Apr  7 13:14:13 iHack Installer[2865]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “HWSensors-3_r116.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Users/ilya/Downloads/HWSensors-3_r116.pkg#HWMonitorSMC2.pkg, PKInstallPackageIdentifier=org.slice.hwsensors.HWMonitorSMC2, NSLocalizedDescription=An error occurred while running scripts from the package “HWSensors-3_r116.pkg”.}

 

Link to comment
Share on other sites

13 hours ago, Slice said:

@vector sigma

Look, please, some error in the package when install only HWMonitorSMC2

 

Should be fixed now. You changed the app name but the preinstall/postinstall script was looking for the old name:

preinstall: unload the running HWMonitorSMC2.app (if any), delete it

postinstall: open the new one

I'm in a rush now, but I see you changed the preferences but this way when you click any checkbox, on the next start the app will always set these preferences in a ON state, without effectively match the state of the buttons. Do you want to have these preferences always enabled or do you want them enabled by default?

Functions prefixed with "@IBAction" are meant to receive an action from a control (buttons, sliders texfields etc.) the function is connected to. So if a button is activated you should respect its state.

After a new look  and with a try, it works well. Only that by setting "sender.state" I'm surprised that value is saved as a boolean value since a checkbox can be .on, .off or .mixed.

EDIT

looking at the documentation:

Spoiler

var state: NSControl.StateValue { get set }
Description

The button’s state.

The value of this property represents the button's state. A button can have two or three states. If it has two, this value is either on (NSOnState) or off (NSOffState). If it has three, this value is on, off, or mixed (NSMixedState). A three-state button can be enabled by calling the allowsMixedState method. On and off states (also referred to as alternate and normal) indicate that the button is either clicked or not clicked. Mixed state is typically used for checkboxes or radio buttons, which allow for an additional intermediate state. For example, suppose the state of a checkbox is used to denote whether a text field contains bold text. If all of the text in the text field is bold, then the checkbox appears checked (on). If none of the text is bold, then the checkbox appears unchecked (off). If some of the text is bold, then the checkbox contains a dash (mixed).

Note that if the button has only two states and you set the value of state to mixed, the button’s state changes to on. Setting this property redraws the button, if necessary.

Although using the enumerated constants is preferred, you can also set state to an integer value. If the button has two states, 0is treated as NSOffState, and a nonzero value is treated as NSOnState. If the button has three states, 0 is treated as NSOffState; a negative value, as NSMixedState; and a positive value, as NSOnState.

To check whether the button uses the mixed state, use the allowsMixedStateproperty.

SDK macOS 10.0+
Declared In AppKit
More Property Reference

it says about integer and in swift you cannot do that for example:

let a : Int = true //error: Cannot convert value of type 'Bool' to specified type 'Int'

while in c you can do that:

int a = true;

..why the code was as I wrote it originally

Edited by vector sigma
  • Like 1
Link to comment
Share on other sites

21 hours ago, Alpha22 said:
Spoiler


here's to you :

Last login: Mon Apr  9 21:04:33 on console

iMac-di-Fabio:~ fabio$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *120.0 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk2         119.8 GB   disk0s2

 

/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *250.1 GB   disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                  Apple_HFS macOS Sierra            249.2 GB   disk1s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

 

/dev/disk2 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +119.8 GB   disk2

                                 Physical Store disk0s2

   1:                APFS Volume macOS High Sierra       97.7 GB    disk2s1

   2:                APFS Volume Preboot                 21.9 MB    disk2s2

   3:                APFS Volume Recovery                517.8 MB   disk2s3

   4:                APFS Volume VM                      20.5 KB    disk2s4

 

iMac-di-Fabio:~ fabio$ diskutil info disk1

   Device Identifier:        disk1

   Device Node:              /dev/disk1

   Whole:                    Yes

   Part of Whole:            disk1

   Device / Media Name:      MAXTOR STM3250310AS

 

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

 

   Content (IOContent):      GUID_partition_scheme

   OS Can Be Installed:      No

   Media Type:               Generic

   Protocol:                 SATA

   SMART Status:             Verified

 

   Disk Size:                250.1 GB (250059350016 Bytes) (exactly 488397168 512-Byte-Units)

   Device Block Size:        512 Bytes

 

   Read-Only Media:          No

   Read-Only Volume:         Not applicable (no file system)

 

   Device Location:          Internal

   Removable Media:          Fixed

 

   Solid State:              No

   Virtual:                  No

   Hardware AES Support:     No

 

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk0

Medium Type:       SSD

Protocol:          SATA

Location:          Internal

Temperature:       25C°

Life:              98%

S.M.A.R.T. check disk0:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x01, 0x00, 0x05, 0x33, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x32, 

0x00, 0x63, 0x63, 0x03, 0x11, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x0C, 0x32, 0x00, 0x60, 0x60, 0x96, 

0x0D, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1, 0x13, 

0x00, 0x62, 0x62, 0x12, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xB3, 0x13, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB5, 0x32, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xB6, 0x32, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB7, 0x13, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBB, 0x32, 0x00, 0x64, 0x64, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBE, 0x32, 

0x00, 0x4B, 0x3A, 0x19, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC3, 0x1A, 0x00, 0xC8, 0xC8, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x3E, 

0x00, 0x63, 0x63, 0x80, 0x03, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xEB, 0x12, 0x00, 0x63, 0x63, 0xB5, 

0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x32, 

0x00, 0x63, 0x63, 0x27, 0xC3, 0xC3, 0x38, 0x01, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x68, 0x10, 0x00, 0x53, 

0x03, 0x00, 0x01, 0x00, 0x02, 0x46, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCC

}

iMac-di-Fabio:~ fabio$

 

 

Thanks this will help me!

Link to comment
Share on other sites

1 hour ago, Slice said:

Xcode also recommends

https://yadi.sk/i/USFuTKtJ3UHvhH

But this is old Xcode7.3 which can't compile the project

In fact I'll never do that. Suppose that @IBAction (IB = Interface Builder.. i.e. connected in Xcode GUI using xibs) is connectet to multiple objects (sender) you can do that:

@IBAction func actionFromMultipleObjects(sender: AnyObject) {

    if sender is NSButton {

      // AnyObject is a button, so I can use NSButton library to interact with him

    } else if sender is NSTextField {

      // AnyObject is a text field, so I can aquire its text or change it

    } else if sender is NSSlider {

      // AnyObject is a slider, so I can aquire its position and calculate something

    }

  }

 

AnyObject means that inherent to NSObject.h which averything is based on regarding Cocoa (#import <Foundation/Foundation.h> + #import <AppKit/AppKit.h>) to produces interfaces.

Anyway you can see differences because as you know swift is a new language and Xcode7.3 probably can compile at max Swift 2.x while the latest is Swift 4.x. This year Swift 5 will comes out which will be the final release and it will be embedded in the new macOS 10.14 (may be that Apple will decide to update some of the older OSes as well because Swift 5 will have a stable ABI). We are using the latest available today but as any other old version the swift library is totally included in the app bundle, why can this work. With Swift 5 newer apps will be smaller because we will no longer need to include the entire library.. Anyway Swift 5's compiler will be compatible with Swift 4 and We'll be able to produces apps compatible with all old OSes starting from 10.9. So differences with Swift 4 and 5 will be the stable ABI due to small changes their will do (under testing) about the "String" library which is the most used. After that I'm sure Apple will recompile the entire OS to use everything was done using objective c with the new language.

For us, I think, that the project will at least require very very small changes (or nothing)... anyway in two months Xcode 10 will comes for testing and we'll know what.

 

Edited by vector sigma
Link to comment
Share on other sites

On 8/4/2018 at 1:06 PM, vector sigma said:

Hi Fabio, your instead is bad but I think that the program should have exited before showing untrue data because it says "no resources". Can you kindly show me the output of:


diskutil list

and also


diskutil info disk1

thanks

Last login: Sun Apr 15 09:42:01 on console

iMac-di-Fabio:~ fabio$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *250.1 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS macOS Sierra            249.2 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

 

/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *120.0 GB   disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                 Apple_APFS Container disk2         119.8 GB   disk1s2

 

/dev/disk2 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +119.8 GB   disk2

                                 Physical Store disk1s2

   1:                APFS Volume macOS High Sierra       97.6 GB    disk2s1

   2:                APFS Volume Preboot                 21.9 MB    disk2s2

   3:                APFS Volume Recovery                517.8 MB   disk2s3

   4:                APFS Volume VM                      20.5 KB    disk2s4

 

iMac-di-Fabio:~ fabio$ /Users/fabio/Downloads/smarter disk0

Medium Type:       HDD

Protocol:          SATA

Location:          Internal

Temperature:       55834574872C°

S.M.A.R.T. check disk0:  IOCreatePlugInInterfaceForService() failed with error "IOKit Common: no resource"

S.M.A.R.T. status: not capable

 

S.M.A.R.T. data (512 bytes):

UInt8 smartdata[] = {

0x0A, 0x00, 0x01, 0x0F, 0x00, 0x6D, 0x63, 0x9D, 

0x6E, 0x4F, 0x01, 0x00, 0x00, 0x00, 0x03, 0x03, 

0x00, 0x62, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x04, 0x32, 0x00, 0x5D, 0x5D, 0x26, 

0x1D, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x33, 

0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x07, 0x0F, 0x00, 0x54, 0x3C, 0x42, 

0x9D, 0x32, 0x0E, 0x00, 0x00, 0x00, 0x09, 0x32, 

0x00, 0x5F, 0x5F, 0x28, 0x12, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x0A, 0x13, 0x00, 0x64, 0x63, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x32, 

0x00, 0x60, 0x60, 0x78, 0x11, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBB, 0x32, 0x00, 0x01, 0x01, 0x68, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBD, 0x3A, 

0x00, 0x60, 0x60, 0x04, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xBE, 0x22, 0x00, 0x4C, 0x35, 0x18, 

0x00, 0x13, 0x18, 0x00, 0x00, 0x00, 0xC2, 0x22, 

0x00, 0x18, 0x2F, 0x18, 0x00, 0x00, 0x00, 0x0D, 

0x00, 0x00, 0xC3, 0x1A, 0x00, 0x72, 0x3F, 0x81, 

0xC7, 0x89, 0x03, 0x00, 0x00, 0x00, 0xC5, 0x12, 

0x00, 0x64, 0x64, 0x06, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC6, 0x10, 0x00, 0x64, 0x64, 0x06, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x3E, 

0x00, 0xC8, 0xC8, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xC8, 0x00, 0x00, 0x64, 0xFD, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xCA, 0x32, 

0x00, 0x64, 0xFD, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x82, 0x00, 0xAE, 0x01, 0x00, 0x5B, 

0x03, 0x00, 0x01, 0x00, 0x01, 0x5C, 0x02, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x03, 

0x03, 0x03, 0x02, 0x03, 0x03, 0x03, 0x03, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 

0x5A, 0xE1, 0x52, 0x0F, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0xD6, 0x93, 0xC0, 0xF9, 0xFC, 0x01, 

0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x5A, 0xE1, 0x52, 0x0F, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x0F, 0x00, 

0x00, 0x00, 0x40, 0x77, 0xDC, 0x81, 0x03, 0x00, 

0x00, 0x00, 0x02, 0x9C, 0x01, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x27, 0x12, 0x00, 0x00, 0x00, 0x00, 

0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 

0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25

}

 

iMac-di-Fabio:~ fabio$ diskutil info disk0

   Device Identifier:        disk0

   Device Node:              /dev/disk0

   Whole:                    Yes

   Part of Whole:            disk0

   Device / Media Name:      MAXTOR STM3250310AS

 

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

 

   Content (IOContent):      GUID_partition_scheme

   OS Can Be Installed:      No

   Media Type:               Generic

   Protocol:                 SATA

   SMART Status:             Verified

 

   Disk Size:                250.1 GB (250059350016 Bytes) (exactly 488397168 512-Byte-Units)

   Device Block Size:        512 Bytes

 

   Read-Only Media:          No

   Read-Only Volume:         Not applicable (no file system)

 

   Device Location:          Internal

   Removable Media:          Fixed

 

   Solid State:              No

   Virtual:                  No

   Hardware AES Support:     No

 

iMac-di-Fabio:~ fabio$ 

Edited by Alpha22
  • Thanks 1
Link to comment
Share on other sites

Guys this package: HWSensors-3_r118.pkg.zip contains an improved version of HWMonitorSMC2.app:

- new SMART core made in swift (world first?) that can read s.m.a.r.t. attributes from ATA and finally from NVMe disks B)

- on right click over any rows (not all but most of it) show detailed info about:

  1. CPU (brand string, system usage)
  2. RAM
  3. S.M.A.R.T. attributes with detailed informations about your disks (BSD name, vendor name, serial etc.),
  4. Battery (laptops) with capacity, max capacity, cycle count, temperature etc. (anyway not with VoodooBattery but works with Rehabman's kext or in a real mac)
  5. SYSTEM with info about processes, threads and more.
  6. POWER (if supported), with info about cpu limit, thermal level etc. 

Please show a screen shot about S.M.A.R.T on SATA and NVMe because I worked hard on this. Big thanks goes to @fabiosun for tens and tens of tests made who helped me a lot debugging smart on mechanical and nvme drives (which I did not own).

Thanks goes also to SystemKit.framenwork, now embedded into the project and smartmontools for the reverse engineering that make possible acquire smart datas for NVMe drives on macOS!

 

TODO:

- do a better layout of the datas showned when you right click fixed

- find gpu information somehow

 

@Slice, soon (tonight) I'll commit those changes, just waiting some tests here

EDIT

commited

Edited by vector sigma
committed to r118
  • Like 3
  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...