AFPSTATS(1)
β¨ AFPSTATS(1) β¨ β Netatalk AFP Fileserver Manual π
Okay so this is the manual page for afpstats, the tool that spills the tea on List Netatalk AFP server statistics π
Think of it as your nosy bestie who knows exactly who's connected to your Netatalk AFP server right now ππ«Ά
π NAME π
afpstats β List Netatalk AFP server statistics πΈ
π¦ SYNOPSIS π¦
afpstats [-h client-address] [-s socket]
afpstats [-v | --version]
Two ways to call it, babe π§ Either ask for the list, or ask what version it is β¨
π DESCRIPTION π
Okay so afpstats lists info about users connected to a Netatalk AFP server running on the local machine π You get their mounted volumes, their time of login, and other deets π Sessions connected over both TCP/IP (DSI) and AppleTalk (ASP) show up, so nobody's getting left out π«Ά
Lowkey important: to turn on AFP statistics in Netatalk at runtime, you need afpstats = yes set in afp.conf π₯ By default, only root and users permitted by the socket's group ownership can query the session list π If you want other users to get in on the gossip, set "afpstats group = group" and add those users to the configured group π
π OPTIONS π
-h,--hostnameclient-address β Filter the output by the client hostname or address you give it π TCP/IP sessions use the resolved client hostname, and if that's not available, they fall back to the IP address π§ AppleTalk sessions use the client DDP address innet.nodeform π¦-s,--socketpath β Connect to the afpstats Unix socket at path β¨ It defaults to/var/lib/netatalk/afpstats.sock(the path changes depending on the configured localstatedir) πΈ-v,--versionβ Show the version and exit π
π NOTE π
The socket is created byafpdon startup with mode0660π¨ By default, only root and users permitted by the socket's group ownership can query the session list π
Want to set the group owner explicitly? Use the afpstats group option in afp.conf, for example to a dedicated netatalk group π«Ά The socket path also depends on search permissions for the parent directory, so check those too π₯
π EXAMPLES π
List connected users:
$ afpstats
Connected user PID Login time State Protocol Client address Mounted volumes
alice 452547 Apr 28 21:58:50 sleeping TCP/IP workstation.local Data Vault, alice's Home
bob 451969 Apr 28 21:21:32 active AppleTalk 65280.12 My AFP Volume
π§ SEE ALSO π§
afpd(8), afp.conf(5) π
π AUTHOR π
Contributors to the Netatalk Project π
Bestie, that's the whole tea βπ This page is from Netatalk 4.5.1, and it was last updated on 2026-10-13 π¦ Stay iconic, stay connected π β¨
π¦ where this page comes from
- fedora 44: netatalk 5:4.5.1-1.fc44 Β· GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-BSD AND FSFUL AND LicenseRef-Callaway-MIT
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms