FS_MEMDUMP(1)

πŸ“¦ version 1.8.16.1, in nixos 26.05, nixpkgs unstable

πŸ’Ύ FS_MEMDUMP(1) β€” bestie's guide to the AFS Command Reference

okay so picture this: it's a manual page, it's fs_memdump(1), it lives in the AFS Command Reference, and it is Windows only β€” like, exclusively. no cap. πŸͺŸβœ¨


✨ NAME ✨

fs_memdump β€” dump AFS cache state and memory allocations, but [Windows only] bestie, don't forget that part πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

fs memdump [-begin|-end]

that's it. that's the whole vibe check. two flags. pick one. 🫢


🌸 DESCRIPTION 🌸

so what does this icon actually do? it dumps the state of AFS cache manager objects and statistics. literally all of it, into a dump. πŸ“¦

and here's the extra little bonus: if a checked build of the C run-time library is in use, memory allocations get included in the dump too. like a little surprise gift. 🎁 (key words: checked build, C run-time library β€” if you don't have that, no memory allocation tea for you πŸ™ˆ)


πŸ’€ CAUTIONS πŸ’€

this command is only available on Windows. periodt. if you're on anything else, this page is not for you, sorry babe 😭

⭐ OPTIONS ⭐

heads up bestie β€” one of either -begin or -end must be specified. you can't just run it raw, it needs a direction πŸ‘‘

  • -begin β€” sets a memory checkpoint. like putting a little pin in the timeline. πŸ“
  • -end β€” creates a dump-file containing info about all the memory allocation that's happened since the -begin command was issued. so it's the -begin pin, but make it a whole scrapbook πŸ—‚οΈβœ¨

🌈 OUTPUT 🌈

if it worked, so for either -begin or -end, you get this absolute slay:

AFS memdump created

and if it did not work? oop β€”

AFS memdump failed

that's the whole story. created or failed, no in-between, no nuance πŸ’€


πŸ¦‹ EXAMPLES πŸ¦‹

wanna start a memory allocation dump? hit it with this:

% fs memdump -begin

and then when you're done and wanna close it out:

% fs memdump -end

see? iconic. beginning, then ending. the circle of life πŸ§šπŸ’œ


πŸ‘‘ PRIVILEGE REQUIRED πŸ‘‘

the person issuing this command must have AFS Client Administrator access. so like, you can't just walk in here with a regular account and start dumping memory. this is admin-only energy πŸ”₯


this document was written by Mike Robinson, and it's released under the IBM Public License Version 1.0. give credit where credit is due, bestie 🫢


and that's the whole page!! brought to you by OpenAFS, dated 2026-06-25 β€” FS_MEMDUMP(1), the Windows-only memory dump queen. go forth and checkpoint responsibly πŸ’…πŸŽ€πŸ“

πŸ“¦ where this page comes from