Re: How to list all files opened by a process on the Mac OS X?
Re: How to list all files opened by a process on the Mac OS X?
- Subject: Re: How to list all files opened by a process on the Mac OS X?
- From: Derick Centeno <email@hidden>
- Date: Tue, 24 Jan 2006 12:54:03 -0500
When I used lsof it provided a listiing of over 250 lines! I would
recommend the simple expedient of saving the output of lsof to a file.
Example:
$ lsof > openfiles
Then open it with your favorite editor, say vim.
Good luck ...
On Dec 25, 2005, at 11:58 AM, Jerald Dawson wrote:
lsof will give you this information. See man lsof for more info.
-j
On Dec 25, 2005, at 10:32 AM, Chen Ben wrote:
Hi all!
How can I list all open files of one process? I have used sysctl to
list many process infomations, but I cannot find a way to get
something like the vnode or file descripters of one process.
What should I do?
Thanks
--
Ben Chen, Apple Technology Lab of Software Engineering School, Tongji
University
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden