Name
fstat
Synopsis
fstat [options] [files]
Displays a list of open files and their status. By default,
fstat lists all open files on the system. If any
pathnames are specified in files, however, only
those files are listed.
Options
-
-f[pathname] List open files residing only on the same filesystem as pathname, or if pathname is not specified, the current working directory.
-
-Mpathname Extract values for the name list from core file pathname instead of
/dev/kmem, the default.-
-Npathname Extract the name list from kernel file pathname instead of
/mach_kernel, the default.-
-n Display data numerically. For filesystems, show the device number instead of mount point. For special files, show the device number instead of its
/devfilename. For regular files, show permissions in octal instead of symbolic format.-
-ppid List only those files opened by the process whose ID is specified in pid.
-
-uusername List only those files opened by the user username.
-
-v Be verbose.