fstat
Just found this really useful utility in OS X. Worth remembering.
fstat [-fnv] [-M core] [-N system] [-p pid] [-u user] [filename...]
"Fstat identifies open files. A file is considered open by a process if
it was explicitly opened, is the working directory, root directory, ac-
tive pure text, or kernel trace file for that process. If no options are
specified, fstat reports on all open files in the system."
fstat [-fnv] [-M core] [-N system] [-p pid] [-u user] [filename...]
"Fstat identifies open files. A file is considered open by a process if
it was explicitly opened, is the working directory, root directory, ac-
tive pure text, or kernel trace file for that process. If no options are
specified, fstat reports on all open files in the system."
Comments