HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)

d
df_vxfs(1M) df_vxfs(1M)
NAME
df_vxfs: df - report number of free disk blocks on a VxFS file system
SYNOPSIS
df [-F vxfs][-V][
-befgiklntv ][-o s][special|directory]...
DESCRIPTION
df prints the number of free blocks and free inodes in VxFS file systems or directories based on the counts
kept in the super-blocks.
VxFS dynamically allocates inodes from a pool of free blocks. The number of free inodes and blocks
reported by df is an estimate based on the number of free 8K or larger extents and the current ratio of
allocated inodes to allocated blocks. (Extents smaller than 8K may not be usable for all types of allocation,
so df does not count free blocks in extents smaller than 8K.) Allocating additional blocks may therefore
decrease the count of free inodes and vice versa.
If the operand to df is a special device name, the file system can be an unmounted or mounted file system
(for example,
/dev/dsk/c0t1d0
). If you specify a directoryname, df
displays information for the file
system at that mount point. If neither special nor directory is specified, the free space on all of the
mounted file systems is printed.
Options
df recognizes the following options:
-b Report only the number of kilobytes free.
-e Report the number of files free.
-f Report only an actual count of the blocks in the free list (free inodes are not reported).
When this option is specified, df reports on raw devices.
-F vxfs Specify the file system type (vxfs).
-g Report the entire statvfs(2) structure.
-i Report the total number of inodes, the number of free inodes, number of used inodes
and the percentage of inodes in use.
-k Report the allocation in kilobytes.
-l Report on local file systems only.
-n Report the file system name. If invoked with no other options this option prints a list
of mounted file system types.
-o s Print the number of free extents of each size. Free extents are always an integral
power of two in length, ranging from a minimum of one block to the maximum extent
size supported by the file system.
-t Report the total allocated block figures and the number of free blocks.
-v Report the percentage of blocks used, the number of blocks used and the number of
blocks free. This option cannot be used with other options.
-V Echo the completed command line, but performs no other action. The command line
is generated by incorporating the user-specified options and other information derived
from /etc/fstab . This option allows the user to verify the command line.
There are a number of options that specify output formats, some combinations of which are incompatible.
If an incompatible combination is specified, one of the options will override the other(s).
Operands
df recognizes the following operands:
directory Name of the mount point from which the VxFS file system is accessed.
special Device name, which contains a mounted or unmounted VxFS file system.
EXAMPLES
Report the number of free disk blocks for all mounted file systems:
HP-UX 11i Version 2: December 2007 Update 1 Hewlett-Packard Company 161