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 ifpathname
is not specified, the current working directory.-
-M
pathname
Extract values for the name list from core file
pathname
instead of/dev/kmem
, the default.-
-N
pathname
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
/dev
filename. For regular files, show permissions in octal instead of symbolic format.-
-p
pid
List only those files opened by the process whose ID is specified in
pid
.-
-u
username
List only those files opened by the user
username
.-
-v
Be verbose.
Get Mac OS X Panther in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.