On the internet, you will find plenty of tools forchecking disk space usagein Linux. However, Linux has a strong built-in utility called ‘df‘. The ‘df‘ command stands for “disk filesystem“, it is used to get a full summary of available and used disk space usage of the file sys...
By default, the df program displays the disk space in1-kilobyteblocks and the amount of utilized and available disk space in kilobytes. To show information about disk devices in human-readable format (kilobytes, megabytes, gigabytes, and so on), use thedf commandwith the -h option: $df -h...
10 Commands to Check Disk Partitions and Disk Space on Linux Hardware How to Check Un-allocated Disk Space in Linux Hardware 13 "iostat" Command Examples in Linux - Monitor disk i/o and cpu usage Server 5 commands to check memory usage on Linux Linux Commands How to clean up disk ...
You can also use the df command to check the disk space of a specific drive. To do this, simply specify the path to the drive as an argument to the df command. For example, to check the disk space of the /home directory, you would use the following command: df /home 2.Digging de...
size- Total disk space. used- Used disk space. avail- Available disk space. pcent- Percentage of used space. file- The file name if specified on the command line. target- The mount point. For example, to display the output of all ext4 partition in human-readable format, showing only th...
Using df command to check disk space in Linux Let’s see how can you use the df command to get various kind of disk space information in Linux. Just ‘df’ to see disk information The main and plain ‘df’ command will output the entire list of file systems in your Linux setup. To...
How To Check Disk Space Usage In Linux Using Ncdu 2. Tin Summer TheTin Summeris used to find the build artifacts that are taking up disk space. It is also an yet another good alternative for du command. Thanks to multi-threading, Tin-summer is significantly faster than du command when ...
Filesystem Size Used Avail Use% Mounted on tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 1.9G 193M 1.7G 11% /run tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 379M 0 379M 0% /run/user/0 How to Check File System Disk Space Usage with a Grand Total in Linux?
You can use it to check the size of directories as well as disk utilization. The built in sorting feature makes it easier to use as you don't need to combine the sort command here. Gdu: Disk usage checking in Linux terminal Gduis a tool written in Go (hence the ‘g’ in gdu). ...
That was a little introduction to the findmnt command. There are few more options supported by findmnt which can be found in the man page. Besides findmnt there are many other commands that can be used to check disk drives and mounted partitions on a linux system. Check this post for more...