Ok, in that case, then "lsof" does not show files opened by AFP connected
users. I currently have a few documents open from a sharepoint and the file
is not listed as being open - absolutely nothing, not even showing that
appleshare server has it open... the files are not listed as open at all.
Even if lsof would list the appleshare server process as having the file
open, it doesn't help much in narrowing down who has the open file
especially where there are tens or hundreds of connected users. But this
point is moot since lsof doesn't work for AFP users/files.
On 8/29/05 1:13 PM, "Dan Shoop" wrote:
> At 12:52 PM -0700 8/29/05, david chan wrote:
>> Are you sure lsof shows files opened via AFP connected users? I tried
>> invoking the following but get no results:
>>
>> lsof email@hidden:548
>
> of coruse, lsof shows ALL open files. If they're open, they'll be listed.
>
> However your syntax is rather wooly. First, the client IP isn't going
> to be connected from port 548, it's connected TO port 548. Second, it
> would be matching the TCP connection, not the file anyway.
>
> Perhaps if you' just look at the output of `lsof` it might be clearer to you
> ;)
>
> And remember, it's not the user that's got the file open on the file
> server, it's the AppleShare server process.
--
David Chan | San Francisco
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden