Linux - disk free command (df)


disk free command (df) is a storage function that can give you the free space.


df -h
Filesystem            Size  Used Avail Use% Mounted on
                       17G   16G     0 100% /
/dev/sda1              99M   12M   82M  13% /boot
tmpfs                 1.5G     0  1.5G   0% /dev/shm

Difference between du and df

du shows the space by file whereas df shows the space by block of file.

If there is a big difference in their output, try to see if some deleted file are not held by a process as open.

Example with linux and lsof

 lsof /device | grep -i deleted

Deleted Open File

If this is the case, you need to restart the process to reclaim this buffers.

Discover More

and /dev/scdmounteddisk free command (df)
Linux - Disk Space

Linux - Disk Space
Linux - Mounting File Systems (CDROM, NFS, SMB, )

All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the file...
Deleted Open File
Linux - du (Disk Usage)

du is a disk usage tool that estimates file space usage by subfolder. It exists also as Technet edition Windows: cleanmgr.exe Free also the...
Powercenter 901 Installation License And Directory
PowerCenter - Installation and Configuration (9.0.1 for OEL Linux 64Bit)

Text format: ... Installation Type: Install (and not upgrade) Pre-requisites: Next License and Directory. (Transfer the license file from the client zip file) Pre-Installation Summary: Install...

Share this page:
Follow us:
Task Runner