linux disk usage command-du $ man du NAME du - estimate file space usage SYNOPSIS du [OPTION]... [FILE]... du [OPTION]... --files0-from=F DESCRIPTION Summarize disk usage of each FILE, recursively for directorie
Thedf -h /homecommand shows usage for the file system mounted at/home, like/dev/sdb1if partitioned separately. Unlike/dev/sda1, it uses the mount point, not device name. Handy for user directories or external drives. Runmount | grep /hometo confirm the mount. Output is human-readable,...
The Linux ‘du‘ (Disk Usage) is a standard Unix/Linux command used to check the disk usage information of files and directories on a machine. Theducommand has many parameter options that can be used to get the results in many formats. Theducommand also displays the files and directory si...
Many online tutorials recommend thedfcommand to use when checking for disk space usage on a Linux system. You can use this command to show disk usage and free disk space for a specific file system. Here’s an example of the output generated when running thedfcommand on an Ubuntu server. ...
There are two popularways to check disk usage in Linux terminal: du command and df command. Thedu command is more for checking the space used by a directoryand the df command gives you the disk utilization on filesystem level. The gdu tool sorts of combined the functionality of both. ...
For example, to see the disk usage figures in megabytes, you would use the following command. Note there is no space between the B and M. df -BM The-h(human readable) option instructsdfto use the most applicable unit for the size of each filesystem. In the next output note that th...
Learn 10 Useful ‘du’ (Disk Usage) Commands in Linux Master the ‘Find’ Command with these 35 Practical Examples How to Find Biggest Files and Directories in Linux Run the following command to find out thetop biggest directoriesunder/homepartition. ...
In Free up space on your Linux system with this open source tool, I introduced Top Disk Consumer Report Generator (topdiskconsumer), an open source tool...
Firstly, connect the disk to your Linux system if you haven't already and launch the Terminal window on it. You can enter the following command to check it: sudo fdisk –l. Now, to create a partition, enter the command "fdsk" in the following format: ...
Install iotop on CentOS/Redhat Linux Install iotop on Ubuntu Linux How to use iotop on Linux Check Total IO Usage Per Process Check Process ID instead of TID in iotop Filter by Process id or username in iotop Check disk io usage per process with iotop command in Linux Install iotop on Cen...