Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

df(1b) [opensolaris man page]

df(1B)						     SunOS/BSD Compatibility Package Commands						    df(1B)

NAME
df - display status of disk space on file systems SYNOPSIS
/usr/ucb/df [-a] [-i] [-t type] [filesystem...] [filename...] DESCRIPTION
The df utility displays the amount of disk space occupied by currently mounted file systems, the amount of used and available space, and how much of the file system's total capacity has been used. If arguments to df are path names, df produces a report on the file system containing the named file. Thus `df .' shows the amount of space on the file system containing the current directory. OPTIONS
The following options are supported: -a Report on all filesystems including the uninteresting ones which have zero total blocks (that is, auto-mounter). -i Report the number of used and free inodes. Print ` * ' if no information is available. -t type Report on filesystems of a given type (for example, nfs or ufs). EXAMPLES
Example 1 Using df A sample of output for df looks like: example% df Filesystem kbytes used avail capacity Mounted on sparky:/ 7445 4714 1986 70% / sparky:/usr 42277 35291 2758 93% /usr Note that used+avail is less than the amount of space in the file system (kbytes); this is because the system reserves a fraction of the space in the file system to allow its file system allocation routines to work well. The amount reserved is typically about 10%; this can be adjusted using tunefs (see tunefs(1M)). When all the space on a file system except for this reserve is in use, only the super-user can allocate new files and data blocks to existing files. When a file system is overallocated in this way, df can report that the file system is more than 100% utilized. FILES
/etc/mnttab List of file systems currently mounted /etc/vfstab List of default parameters for each file system ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
du(1), quot(1M), tunefs(1M), mnttab(4), attributes(5) SunOS 5.11 14 Sep 1992 df(1B)

Check Out this Related Man Page

df(1)							      General Commands Manual							     df(1)

Name
       df - display free and used disk space

Syntax
       df [-i] [-l] [-n] [filesystem...] [file...]

Description
       The command displays the amount of disk space available on the specified file system, for example, It also displays the amount of available
       disk space on the file system in which the specified file is contained, for example, If a device is given that has no file systems  mounted
       on  it,	displays  the  information  for  the  root file system.  Without any arguments or options, displays shows all mounted filesystems,
       including those manually mounted without use of the file.  The numbers are reported in kilobytes.

       Unless the -n option is specified, updates the statistics stored in memory for the file system specified, before it  returns  the  informa-
       tion.

Options
       -i   Also report the number of used and free inodes.

       -l   Reports on locally mounted disks only.

       -n   Do	not  update the file system statistics stored in memory.  Instead, return whatever statistics are stored in memory.  This prevents
	    from hanging in the event that a server containing the specified file system is down.

Restrictions
       You cannot use the command to find free space on an unmounted file system using the block or character special device name.   Instead,  use
       the command.

Examples
       % df
       Filesystem     Total    kbytes  kbytes	%
       node	      kbytes   used    free	used	Mounted on
       /dev/ra1a       7429    2085    4602	31%    /tmp
       /dev/ra0e      30519   14817   12651	54%    /usr/spool
       /dev/ra0h     313233  122858  159052	44%    /usr/staff1

       The  total  disk  space is the total space that was created during the making of the file system.  The addition of the used space, the free
       space and a percentage of reserved space is the total space.  The default value for the reserved space is 10%.

Files
       List of mounted file systems

See Also
       getmnt(2), fstab(5), dumpfs(8), icheck(8), mkfs(8), newfs(8), quot(8)

																	     df(1)
Man Page