Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Xserve running OS X Server 10.4.11. It has Apple File Protocol enabled to share a few dozen sharepoints on the local network.

I would occasionally like to get a listing of who is currently connected to the server (easily done with Server Admin), but I would like to know which sharepoints they have mounted on their local computer.

share|improve this question

Hah! Good luck.

The AFP server gives precious little status information. You can get the connections through Server Admin, but not the volumes that each user has mounted.

If you turn on the access log, you can see every single file Open/Close/Create going on, and from that you might be able to deduce what volumes people are using. In fact, I have a script that monitors this log to give me ops/sec metrics on my AFP servers. It's not an ideal solution.

You could also probably hook up or strace to see what the AFP server is doing.

share|improve this answer

You can get a list of connected users by running:

serveradmin command afp:command = getConnectedUsers

But that won't give you a list of shares users are connected to, just the users which are connected to something.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.