Ok, in that case, then "lsof" does not show files opened by AFP connected
users.
Of course it does. How can a user have a file open through AFP and it
not be open on the system?
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.
Many files are opened, read, and closed, so they're not currently
open any more.
So if lsof isn't showing it, it's fair to say it's *NOT* open on the system.
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.
lsof *does* work for users/files, and *does* show the user on the
system that has the file open.
The "user" with the open file, will be 'AppleFile' in lsof. That's
b/c this *is* who has the file open currently on the server. That is
this is the user on the serevr who has the file open.
If you want the user making a /request/ for a to the server, that's
not who has the file open on the server. If this is what you want,
look at your logs for requests, not open files.
--
-dhan
------------------------------------------------------------------------
Dan Shoop AIM: iWiring
Systems & Networks Architect http://www.iwiring.net/
email@hidden http://www.ustsvs.com/
iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
_______________________________________________
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