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

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
d
df_vxfs(1M) df_vxfs(1M)
NAME
df - report number of free disk blocks on a VxFS file system
SYNOPSIS
/usr/bin/df [-F vxfs ][-V ][-egiklnvtfb][-o s][special | directory ... ]
DESCRIPTION
df prints the number of free 512-byte blocks and free inodes available for file systems by examining the
counts kept in the superblock or superblocks. If a special or a directory is not specified, the free space on all
of the mounted file systems is printed. If the arguments to df are pathnames, df produces a report on
the file system containing the named file. If the argument to df is a special, the file system can be an
unmounted or mounted file system.
On a Version 2 disk layout extents smaller than 8 kilobytes may not be usable for all types of allocation, so
df does not count free blocks in extents below 8 kilobytes when reporting the total number of free blocks.
On a Version 2 or greater disk layout, VxFS dynamically allocates inodes from the pool of free blocks, so the
number of free inodes and blocks reported by df is an estimate based on the number of free extents and
the current ratio of allocated inodes to allocated blocks. Allocating additional blocks may therefore decrease
the count of free inodes, and vice versa.
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 Specifies 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 2 in length, ranging from a minimum of 1 block to the maximum extent size
supported by the file system. (VxFS-specific option).
-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).
EXAMPLES
Report the number of free disk blocks for all mounted file systems:
df
Report the number of free extents of each size, for all mounted VxFS file systems:
df -F vxfs -o s
Report the number of free files for all mounted VxFS file systems:
HP-UX Release 11i: December 2000 1 Section 1M163
___
___