# SMART

Availability: all but Mac OS

Dependency: this plugin uses the optional pySMART Python lib

This plugin is disable by default, please use the –enable-plugin smart option to enable it.

Glances displays all the SMART attributes.

How to read the information:

- The first line display the name and model of the device

- The first column is the SMART attribute name

- The second column is the SMART attribute raw value

Warning

This plugin needs administrator rights. Please run Glances as root/admin.

Also, you can hide driver using regular expressions.

To hide device you should use the hide option:

    [smart]
    hide=.*Hide_this_device.*

It is also possible to configure a white list of devices to display. Example to show only the specified drive:

    [smart]
    show=.*Show_this_device.*

Filtering is based on regular expression. Please be sure that your regular expression works as expected. You can use an online tool like regex101 in order to test your regular expression.

You can also hide attributes, for example Self-tests, Errors, etc. Use a comma separated list.

    [smart]
    hide_attributes=attribute_name1,attribute_name2