FSSYNC-DEBUG_STATS(8)

πŸ’… FSSYNC-DEBUG_STATS(8) β€” the AFS Command Reference girlies know πŸ’…

okay bestie, sit DOWN, because we're about to get into fssync-debug_stats, aka the little stats-gremlin of the fssync-debug family, from the AFS Command Reference. it's giving "I just want to see the numbers" energy and honestly? iconic. πŸŽ€


✨ NAME ✨

fssync-debug_stats β€” literally just displays various statistics. that's it. that's the whole job. no cap. πŸ“Š


🌸 SYNOPSIS 🌸

fssync-debug stats -cmd <subcommand>
    [-arg1 <arg1>]
    [-arg2 <arg2>]
    [-reason <sync protocol reason code>]
    [-programtype <program type code>]
    [-help]

fssync-debug s -c <subcommand>
    [-arg1 <arg1>]
    [-arg2 <arg2>]
    [-r <sync protocol reason code>]
    [-p <program type code>]
    [-h]

so yes, stats and s are the same thing, and -cmd and -c are the same thing, etc etc β€” same girl, different outfits. πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

the fssync-debug stats command displays statistics. which statistics, you ask? however many the value of the -cmd option tells it to show you. that's the whole vibe check: -cmd picks the flavor, and you get the numbers. 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • -cmd <subcommand> β€” tells it WHICH statistics subcommand you want, bestie. the available subcommands are:
    • pkg β€” general volume package statistics ✨
    • vicep β€” vice partition statistics πŸ’œ
    • hash β€” volume hash chain statistics 🌈
    • hdr β€” volume header cache statistics πŸŽ€
    • vlru β€” vlru generation statistics πŸ¦‹
    • help β€” displays the list of available subcommands πŸ†˜
  • -arg1 <arg1> β€” your first optional argument, and what it means depends on which subcommand you picked, iykyk. for vicep statistics it's the partition name; for hash statistics it's the hash bucket number; for vlru statistics it's the vlru generation number. one arg, three possible personalities. πŸ’…
  • -arg2 <arg2> β€” your second optional argument, also interpreted in the context of the chosen subcommand. and ngl? currently none of the subcommands use it. it's just standing there, existing, serving nothing. πŸ’€
  • -reason <sync protocol reason code> β€” sets a numeric sync protocol reason code. the available codes are listed in the OpenAFS source file src/vol/fssync_inline.h. and for SYNC_REASON_NONE, you use -reason 0. (0 is the "no reason, just vibes" code, fr fr.) πŸ”₯
  • -programtype <program type code> β€” sets the program type code. permitted values are fileServer, volumeUtility, salvager, salvageServer, volumeServer and volumeSalvager. pick your main character. ⭐
  • -help β€” prints the online help for this command. and the way it does NOT care about your other options β€” all other valid options are ignored. periodt. πŸ™ˆ

πŸ” PRIVILEGE REQUIRED πŸ”

the issuer must have write access to the file server. usually that means the issuer has to be the local superuser "root" on the file server machine. so like… root, or nothing. no in-between, bestie. πŸ‘‘


πŸŽ€ SEE ALSO πŸŽ€

go read those too, don't be a stranger to the family. 🫢


Copyright 2010 Davor Ocelic <docelic@spinlocksolutions.com>

this documentation is covered by the IBM Public License Version 1.0. this man page was written by Davor Ocelic for OpenAFS, based on documentation from Steven Jenkins, Tom Keiser and Simon Wilkinson. absolute legends, honestly, we stan. πŸ’–


and that's the whole page, bestie!! OpenAFS, 2026-07-27 β€” that's the source, the version and the date all wrapped up in a bow πŸŽ€ go forth and check your stats, you gorgeous fssync-debug-enjoying icon. mwah. πŸ’…βœ¨

πŸ“¦ where this page comes from