• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to list all files opened by a process on the Mac OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Alexander von Below <email@hidden>
  • Date: Tue, 24 Jan 2006 11:06:50 +0100

On the subject, I have just reviewed the latest Libkvm code as of OS X 10.4.4, and it is indeed scary:

char *
kvm_getfiles(kd, op, arg, cnt)
    kvm_t *kd;
    int op, arg;
    int *cnt;
{
    return (0);
}

Anyone else here know a way to get a list of open files?

Alex

Am 24.01.2006 um 10:48 schrieb Alexander von Below:


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


_______________________________________________ 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
  • Follow-Ups:
    • Re: How to list all files opened by a process on the Mac OS X?
      • From: Jonas Maebe <email@hidden>
References: 
 >Re: How to list all files opened by a process on the Mac OS X? (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: How to list all files opened by a process on the Mac OS X?
  • Next by Date: Re: How to list all files opened by a process on the Mac OS X?
  • Previous by thread: Re: How to list all files opened by a process on the Mac OS X?
  • Next by thread: Re: How to list all files opened by a process on the Mac OS X?
  • Index(es):
    • Date
    • Thread