df(1M) DG/UX 5.4.2 df(1M)
NAME
df - report number of free disk blocks and inodes
SYNOPSIS
df [ -F fstype ] [ -bcefgiklntV ] [ -o options ]
[ file-sys | special | directory ] ...
where:
fstype dg/ux or nfs
options One or more options (see description of -o below)
file-sys The name of the mount-point directory of a file system
(e.g., /usr)
special A special filename referring to a device containing a file
system (e.g., /dev/dsk/usr)
directory A directory name
DESCRIPTION
Df displays the number of free blocks and free file entries (inodes)
available for online file systems. If you specify a directory, df
gives information for the file system containing that directory. If
you omit the arguments, df shows the free space on all of the mounted
file systems.
Options
-b Report only the number of free kilobytes available on the file
system.
-c If directory is a CPD or is contained within a CPD, compute
free blocks and free inodes based on the CPD limits rather
than on the file system limits.
-e Report only the number of free file entries on the file
system.
-f Count only the blocks in the free list (free file entries are
not reported). With this option, df can report on raw
devices.
-g Report information returned by the statvfs(2) function call
for the file system(s).
-i Report on inode use using a Berkeley-style format which
includes the count of used and free inodes and the percent of
inodes in use.
-k Report on free space using a Berkeley-style format which
includes total space, space in use, space available for non-
super-users, and the percent of the non-super-user capacity
currently in use. The sizes are in kilobytes.
-l Report only on local file systems.
-n Report only the type of the file system.
Licensed material--property of copyright holder(s) 1
df(1M) DG/UX 5.4.2 df(1M)
-o Provide fstype-specific options. This option is ignored in
the DG/UX System, but is allowed for compatibility with other
systems.
-t Report also the total number of blocks and file entries
initially allocated to the file system. The -t option can be
used together with the -k or -i options to report the totals
for all requested file systems.
-F Report only on file systems of type fstype.
-V Echo the complete command line, but do not execute the
command. The command line is generated by using the options
and arguments provided by the user and adding to them
information derived from /etc/mnttab. This option should be
used to verify and validate the command line.
The sum of the space in use and the available space reported by the
-k option may be less than the total space because some space
(typically around 10%) is reserved for allocation by the super-user.
The capacity figure is based on the space available for a non-super-
user. Because it is possible for the super-user to allocate space
after the non-super-user's space is full, it is possible for more
than 100 percent of capacity to be reported, and it is possible for
free space to be negative.
The numbers of free blocks and free file nodes take into account any
applicable control point directory limits.
Inode information and control point directory limits are not
available for remote file systems. Unavailable information is
indicated by a question mark or a zero value.
EXAMPLES
df /usr
df /dev/dsk/usr
df /dev/rdsk/usr
The first example specifies a mounted directory name.
The second and third examples specify device names in the DG/UX
System.
FILES
/dev/dsk/*
SEE ALSO
cpd(1), fs(4), mnttab(4).
Licensed material--property of copyright holder(s) 2