Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[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?




On 24 jan 2006, at 11:06, Alexander von Below wrote:

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?

Since lsof can do that, you can look at its source. I don't know which Darwin project it's part of though.



Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: How to list all files opened by a process on the Mac OS X? (From: Alexander von Below <email@hidden>)
 >Re: How to list all files opened by a process on the Mac OS X? (From: Alexander von Below <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.