xs_local_print_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xs_local_print_stats(9) β€” the kernel API manual, but make it cute

okay so this is xs_local_print_stats from the kernel API manual (section 9, for the uninitiated 🧚). it's a lil function that shows you the AF_LOCAL-socket-specific stats. that's the whole vibe. let's get into it πŸ’–


✨ NAME ✨

xs_local_print_stats β€” display AF_LOCAL socket-specific stats πŸŽ€

like, it prints the stats. the AF_LOCAL socket ones specifically. no cap, that's it.


🌸 SYNOPSIS 🌸

void xs_local_print_stats (struct rpc_xprt *xprt , struct seq_file *seq
);

she takes two args and returns void β€” nothing comes back out, she just does her thing and dips πŸ’… (the line break before the closing paren is exactly how it's written in the original, bestie, don't come for me)


πŸ¦‹ ARGUMENTS πŸ¦‹

  • xprt β€” the rpc_xprt struct that's holding all the statistics πŸ“Š. that's where the numbers live.
  • seq β€” the output file. that's where the stats get written to, iykyk ✍️

πŸ‘‘ SEE ALSO πŸ‘‘

so this function lives in the kernel file ./net/sunrpc/xprtsock.c β€” that's the mothership 🏠 β€” and here's the whole friend group, literally every single one of them, in order, no skipping, periodt:

thirty-four of them. thirty-four!! 😭 the friend group is huge and they're all iconic in their own way πŸ”₯


lowkey important note πŸ‘€ the manpage literally doesn't give us a description section beyond the NAME line, so don't go expecting lore that isn't there. she prints stats. that's the plot. πŸ“

and that's the whole page, bestie!! πŸ’œ this one came from the ./net/sunrpc source, version line says October 2026, and the page itself is xs_local_print_stats(9) β€” go off, you now know everything this manpage knows 🫢✨

πŸ“¦ where this page comes from