Skip to content

A Perl script to convert "smartctl -a" or "smartctl -x" output to YAML or JSON format

License

Notifications You must be signed in to change notification settings

intc/smartctl2yaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

smartctl2yaml

A Perl script to convert "smartctl -a" or "smartctl -x" output to YAML or JSON format

Usage

smartctl2yaml.pl [options]

Options

OPTIONS: --help, -h
           Show this help.
         --outformat, -o [yaml/json]
           Select output format. (Default: yaml)

Example

# sudo smartctl -x /dev/sda | perl smartctl2yaml.pl -o yaml

Or with a nvme unit:

# sudo smartctl -x /dev/nvme0n1 | perl smartctl2yaml.pl -o yaml

Authors

  • Antti Antinoja - intc

About

A Perl script to convert "smartctl -a" or "smartctl -x" output to YAML or JSON format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages