

We can display information in various block format. To display information about /boot or /rsnapshot file system, run:įilesystem 1K-blocks Used Avail Capacity Mounted on Let us explore the most commonly used options. Please note that some advanced file systems and df versions can also report space reserved by the system. Mounted on : The mount point is the directory in which it is mounted.Capacity ( Use%) : The percentage of blocks used by the FS.Avail ( Used Available) : Total amount of space available (free space) in file system for the creation of new files.Used : Total amount of space allocated and used by existing files in the file system (FS).1K-blocks : The size in one-kilobyte blocks.Filesystem : The name of your file system/device.The df command and space can have the following info for each device name: The output might be slightly different on the GNU/Linux version of df:įilesystem 1K-blocks Used Available Use% Mounted on To see information about all mounted Linux or Unix file systems, enter: The df command shows all mounted disk space in 1k blocks. The basic syntax for df command is strethforward: Send email alerts or text messages using a shell script or Perl script when you run out of disk space.

Discover if there is sufficient space on a given partition so that developers or sysadmins can install/upgrade apps.List the number of inodes still available for Linux and Unix box.Find out if disk capacity has been reached on a partition or other device networked devices.

Use the df command for displaying available space on a file system: Figure 01: A hierarchy of directories with / (root) as the top directory Purpose ↑
