
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#UBUNTU DISK HEALTH CHECK SOFTWARE#
This program is free software: you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. GSmartControl is licensed under the terms of GNU General Public License Version 3. GSmartControl is Copyright (C) 2008 - 2022 Alexander Shaduri and contributors.
Please see the Software Requirements page for more information. GSmartControl supports all major desktop operating systems, including Linux, Windows, macOS, FreeBSD, and other BSD-style operating systems. Please see the Supported Hardware page for more information. GSmartControl supports ATA drives (both PATA and SATA), various USB to ATA bridges, and drives behind some RAID controllers. works on most smartctl-supported operating systems.can read in smartctl output from a saved file, interpreting it as a read-only virtual device.
displays drive identity information, capabilities, attributes, device statistics, etc…. supports configuration of global and per-drive options for smartctl. automatically reports and highlights any anomalies. The Downloads page contains all the available packages of GSmartControl. It allows you to inspect the drive's SMART data to determine its health, as well as run various tests on it. GSmartControl is a graphical user interface for smartctl (from smartmontools package), which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk and solid-state drives. Method 3: Check free disk usage graphicallyĬhecking free disk space graphically is much easier in Ubuntu with the Disk Usage Analyzer tool.Hard disk drive and SSD health inspection tool For other Linux distros, you can refer to its GitHub releases section. dust → An interesting alternative to the du command written in Rust, available for Arch Linux in the repositories. fdisk -l →Shows disk size along with disk partitioning information (may require sudo privileges). stat →Displays the size and other stats of a file/directory or a file system. ls -al →Lists the entire contents, along with their size, of a particular directory. du -s Provides the total disk space used by a particular file or directory.
du -h → Shows disk usage in human-readable format for all directories and subdirectories. While df command is quite popular and should be enough for the use case, there are other alternatives that you can try including: Since they are under root, you don’t need to count their used disk space separately.Īnd, if you want to view the disk usage with more details like filesystem type and blocks, you can use the command: df -TĬheck Your Disk Usage Using ‘duf’ Terminal Tool Method 2: Using du, ls, and Other Commands With the loop devices, snap applications are sandboxed in their own virtual disk. Loops are virtual devices that allow normal files to be accessed as block devices. You’ll see plenty of them while checking disk space in Ubuntu because of snap applications. udev: The udev filesystem is used for storing information related to devices (like USB, network card, CD ROM etc) plugged to your system. You can ignore this virtual filesystem comfortably. tmpfs: The tmpfs (temporary filesystem) used for keeping files in virtual memory. If you have 2-3 big partitions (like root, home etc), you’ll have to make a calculation here. In my case, I have used 41% of the 232 GB of disk space under root. Root is mounted on /, EFI in /boot/EFI etc. You could identify which partition is used for what purpose from its mount point. In such cases, these partitions are reflected with a number at the end of the ‘disk name’, like /dev/sda1, /dev/nvme0n1p2 etc. Your Linux system might have several partitions on your disk for boot, EFI, root, swap, home etc. This is not a hard and fast rule but it gives you an indication to easily recognize the actual disk from the crowd. Your actual disks should normally be listed as one of the following: When you use the df command to check disk space, it will show a bunch of ‘file systems’ with their size, used space and free space. Method 1: Checking free disk space in Linux with df command (and understanding its output) With the information you gather, you can go about making some free space on Ubuntu. Using alternative commands like du and dust.