How do I find my total disk space?

How do I find my total disk space?

1. Check File System Disk Space Usage. The “df” command displays the information of device name, total blocks, total disk space, used disk space, available disk space, and mount points on a file system.

Which option is used with df command for displaying the total amount of disk space in the file system?

-k option is used with df command for displaying the total amount of disk space in the file system in terms of Kilobytes.

How do I check disk space in Unix?

Check disk space on Unix operating system Unix command to check disk space: df command – Shows the amount of disk space used and available on Unix file systems. du command – Display disk usage statistic for each directory on Unix server.

How to use DF to check disk space?

The df command provides an option to display sizes in Human Readable formats by using ‘-h’ (prints the results in human readable format (e.g., 1K 2M 3G )). 4. Display Information of /home File System To see the information of only device /home file system in human readable format use the following command.

How to check file system disk space usage?

Check File System Disk Space Usage The “ df ” command displays the information of device name, total blocks, total disk space, used disk space, available disk space and mount points on a file system. 2. Display Information of all File System Disk Space Usage

How is the percentage of disk space reported?

The percentage of disk space actually reported by the dfcommand is used space divided by usable space. If the file system exceeds 90 percent capacity, you could transfer files to a disk that is not as full by using the cpcommand. Alternately, you could transfer files to a tape by using the taror cpiocommands. Or, you could remove the files.

How to delete files to free up disk space?

You can get more information done by combining df and du command with other arguments. By doing this, you will get a better idea of which files you can delete to free up disk space. Just remember to start with df command to see which file system needs a cleanup the most.