df(1) [ultrix 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)
Check Out this Related Man Page
df_ufs(1M) System Administration Commands df_ufs(1M) NAME
df_ufs - report free disk space on ufs file systems SYNOPSIS
df -F ufs [generic_options] [-o i] [directory | special] DESCRIPTION
df displays the amount of disk space occupied by ufs file systems, the amount of used and available space, and how much of the file sys- tem's total capacity has been used.The amount of space reported as used and available is less than the amount of space in the file system; 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(1M). When all the space on the file system except for this reserve is in use, only the superuser can allocate new files and data blocks to existing files. When the file system is overallocated in this way, df might report that the file system is more than 100% utilized.If neither directory nor special is specified, df displays infor- mation for all mounted ufs file systems. OPTIONS
The following options are supported: generic_options Options supported by the generic df command. See df(1M) for a description of these options. -o Specify ufs file system specific options. The available option is: i Report the number of used and free inodes. This option can not be used with generic_options. FILES
/etc/mnttab list of file systems currently mounted ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu, SUNWxcu4 | +-----------------------------+-----------------------------+ SEE ALSO
df(1M), fsck(1M), fstyp(1M), tunefs(1M), mnttab(4), attributes(5), ufs(7FS), NOTES
df calculates its results differently for mounted and unmounted file systems. For unmounted systems, the numbers reflect the 10% reserva- tion. This reservation is not reflected in df output for mounted file systems. For this reason, the available space reported by the generic command can differ from the available space reported by this module. df might report remaining capacity even though syslog warns filesystem full. This issue can occur because df only uses the available frag- ment count to calculate available space, but the file system requires contiguous sets of fragments for most allocations. If you suspect that you have exhausted contiguous fragments on your file system, you can use the fstyp(1M) utility with the -v option. In the fstyp output, look at the nbfree (number of blocks free) and nffree (number of fragments free) fields. On unmounted filesystems, you can use fsck(1M) and observe the last line of output, which reports, among other items, the number of fragments and the degree of fragmen- tation. See fsck(1M). SunOS 5.11 25 Feb 2005 df_ufs(1M)