What Is Smartctl in Linux?
Contents Smartctl Is a Command Line Utility Designed to Perform Smart Tasks Such as Printing the Smart Self-Test and Error Logs, Enabling and Disabling Smart...
Contents
smartctl is a command line utility designed to perform SMART tasks such as printing the SMART self-test and error logs, enabling and disabling SMART automatic testing, and initiating device self-tests.
How do I install Smartctl?
Setting up
- You can install the smartmontools package from the Synaptic Package Manager (see SynapticHowto), or by typing the following into the terminal: sudo apt-get install smartmontools.
- To ensure that your drive supports SMART, type: sudo smartctl -i /dev/sda.
24 дек. 2019 г.
Must Read
How do I find my hard drive on Linux?
Step 1: Open up a terminal and gain a root shell with su or sudo -s. Step 2: List the hard drives attached to your Linux PC with the lsblk command. Keep in mind that /dev/sdX is the device label, and /dev/sdX# means partition number. Step 3: Look through your drive listing, and find the drive you’d like to check.