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

f
ff_vxfs(1M) ff_vxfs(1M)
NAME
ff - fast find: list file names and statistics for a VxFS file system
SYNOPSIS
/usr/sbin/ff [-F vxfs][-VIlsu
][-a num][-c num][-i inode-list][
-m num][-n file]
[
-o s][-p
prefix] special...
DESCRIPTION
ff reads the inode list and directories of each special file, assuming it to be a VxFS file system, and prints
inode data for files that match the selection criteria. Output consists of the pathname for each saved inode,
plus any other file information requested using the print options below. Output fields are positional. The
output is produced in inode order; fields are separated by tabs. The default line produced by
ff is:
pathname inumber
The maximum information
ff displays is:
pathname inumber size owner
The num parameter in the options descriptions is a decimal number, where +num means more than num
days,
-num means less than num days, and num means exactly num days. A day is defined as a 24-hour
period.
Options
ff recognizes the following options:
-a num Select a file if the inode has been accessed in num days.
-c num Select a file if the inode has been changed in num days.
-F vxfs Specify the VxFS file system type.
-i inode-list Generate names for any inodes specified in the inode-list.
-I Do not display the inode number after each pathname.
-l Generate a list of all pathnames for files with more than one link.
-m num Select a file associated with the inode if it has been modified in num days.
-n file Select a file associated with an inode if it has been modified more recently than the
specified file.
-p prefix Add the specified prefix to each pathname. The default prefix is
. (dot).
-o s Print only special files and files with set-user-ID mode (VxFS-specific option).
-s Write the file size, in bytes, after each pathname.
-u Write the owner’s login name after each pathname.
-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.
EXAMPLES
List the pathnames and inumbers of all files in the file system /dev/vg01/rlvol1:
ff /dev/vg01/rlvol1
Same as above, but suppress the printing of inumbers:
ff -I /dev/vg01/rlvol1
List files on the same file system that have been modified in the last two days (-m -2), displaying the
pathname, inumber, and owner’s user name (-u).
ff -m -2 -u /dev/vg01/rlvol1
List all files on the same file system, including the pathname and inumber of each file, that were last
accessed more than 30 days ago (-a +30):
ff -a +30 /dev/vg01/rlvol1
Section 1M232 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005