Re: attrlog csv files and SMART 194

Tim Johnson <[email protected]> Sun, 5 Jun 2016 09:13:29 -0700
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
On Jun 4, 2016, at 9:05 AM, Christian Franke <[email protected]> wrote:

> The normalized value may show 'temperature' or '(some_constant - 
> temperature)' or something else.
> In most cases is is safe to assume that temperature is shown in the 
> lower byte of the raw value. The upper bytes may encode min/max values.
> 
> Try this to get a temperature list from the attrlog file:
> 
> sed -n 's,^.*\t194;[^;]*;\([0-9]*\);.*$,\1,p' attrlog.csv | awk '{print 
> $1 % 256}'

Brilliant!  That does the trick.  Thanks!

Tim

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e