| Newsgroups |
gmane.linux.utilities.smartmontools |
| Message-ID |
<[email protected]> |
Well, one quick and dirty way would be to write a script that runs some of
the smartctl commands and dumps their [text] output to a file. That file
can be parsed to find what you want. Lots of scripting work, yes, but it
is possible.
Quick dump example:
smartctl -x /dev/sda > sda.log
Parsing the output is an exercise I'll leave to you.
> Hi Greg,
> I have gone through the links provided by you & found them very useful
> and helpful but I didn't find anything on logging.
> Please help on what command shall I use for logging when I need to login
> complete information for all drives.
> Regards,Manu
>
> From: Gregory Sloop <[email protected]>
> Sent: Tue, 04 Nov 2014 22:03:03
> To: "[email protected]"
> <[email protected]>
> Subject: Re: [smartmontools-support] Beginner Help
> Re: [smartmontools-support] Beginner Help
>
>
>
> Have you read *any* of the documentation yet? It sure doesn't seem like
> it.
>
>
>
> The list, IMO, should not be a substitute for reading the docs.
>
>
>
> If there's some specific question on a particular issue you can't figure
> out, from reading the docs, *and* a search of the list archives *and* the
> web isn't helpful, then asking on the list seems reasonable.
>
>
>
> See: http://www.smartmontools.org/wiki/TocDoc
>
> http://www.smartmontools.org/wiki/FAQ
>
> http://dir.gmane.org/gmane.linux.utilities.smartmontools
>
>
>
> -Greg
>
>
>
>
>
>
>
>
>
>
> Hi,
>
>
>
> I want to take the detailed logs of all the disk drives. For this what
> command shall I use?
>
>
>
> Also, what command shall I use to find the position of the drive?
>
>
>
> Also, what command shall I use to find the Event of the drive? Meaning
> event could be bad sector etc.
>
>
>
>
>
> Thanks & Regards,
>
> Manu
>
>
>
>
>
>
>
> Get your own FREE website, FREE domain & FREE mobile app with Company
> email.
> Know More >
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
>
> Smartmontools-support mailing list
>
> [email protected]
>
> https://lists.sourceforge.net/lists/listinfo/smartmontools-support
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Smartmontools-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/smartmontools-support
>
------------------------------------------------------------------------------