Specifications

Viewing AFP Connections
Use Server Admin to view the clients that are connected to the server through
AFP service.
To view AFP connections:
1 Open Server Admin and connect to the server.
2 Click the triangle at the left of the server.
The list of services appears.
3 From the expanded Servers list, select AFP.
4 To see a list of connected users, click Connections.
The list includes user name, connection status, user IP address or domain name,
duration of connection, and the time since the last data transfer (idle time).
You can send a stop message to client computers by clicking Stop (next to “Number
of connections”), entering when the service will stop, entering a message, and
clicking Stop.
You can send a message to a user by selecting the user from the list, clicking Send
Message, entering the message, and clicking Send.
You can send a disconnect message to individual client computers and disconnect
them from the server by clicking Disconnect, entering when the user will be
disconnected, entering a message, and clicking Send.
Important: Disconnected users can lose unsaved changes in open les.
5 To update the list of connected users, click the Refresh button (below the Servers list).
From the command line:
To view AFP connections: m
$ sudo serveradmin command afp:command = getConnectedUsers
For more information about command-line parameters for AFP, see AFP
Parameters” on page 143. For information about serveradmin, see its man page.
For the basics of command-line tool usage, see Introduction to Command-Line
Administration.
Stopping AFP Service
Use Server Admin to stop AFP service. This disconnects all users, so connected users
might lose unsaved changes in open les.
To initiate AFP service shutdown and warn users:
1 Open Server Admin and connect to the server.
2 Click the triangle at the left of the server.
The list of services appears.
80 Chapter 4 Working with AFP Service