-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could you recapture all the data using --json switch for smartctl? #1
Comments
Consider to use |
@chrfranke, I feel like we'll have to write a parser for smartctl output... BTW, what is your project/research? |
I agree that linuxhw/SMART and the similar project bsdhw/SMART should use JSON output if smartctl >= 7.0 is available. With option |
Do we need traditional output? Can't it be recreated from JSON, if needed? |
JSON output does still not include all info from traditional output. ATA/SATA is fairly complete (see ticket 767), but SCSI/SAS and NVMe are not. Try |
Recapturing of existing probes is not possible because people usually don't create more than one probe of the computer. We can capture this json output in addition to default one in the next version of the hw-probe utility. |
Is it not possible to generate such json output from default plain format by a script? |
Should be possible, but it is damn a lot of work - to create a convertor for a plain-text format and then debug and test it. |
As I just posted in the It would also be useful to understand the methodology/code being used to generate some of the Markdown tables... (Not that I see any particular issues with the methodology ... but not having the code that generates the reports makes independent/peer review next to impossible.) |
No description provided.
The text was updated successfully, but these errors were encountered: