memusagestat(1)

๐Ÿ’– memusagestat โ€” the girlies' guide to the memusagestat(1) manual page ๐Ÿ’–

okay so bestie, you know how memusage(1) be out here collecting receipts on your memory usage? well memusagestat is the one that turns those receipts into a whole aesthetic PNG. it lives in the General Commands Manual section of your system, and it's giving data-viz main character energy. โœจ


โœจ NAME โœจ

memusagestat โ€” generate graphic from memory profiling data ๐ŸŽจ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

memusagestat [option ...] datafile [outfile]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so basically memusagestat creates a PNG file with a graphical representation of the memory profiling data sitting inside the file datafile. and where did datafile come from, you ask? it's literally generated by the -d option (or its long-lost twin --data) of memusage(1). so like, don't just show up with any old file, okay? ๐Ÿซถ

now let's talk about the graph itself because it's lowkey a masterpiece:

  • the red line in the graph shows the heap usage (that's your allocated memory, queen ๐Ÿ‘‘)
  • the green line shows the stack usage
  • the x-scale is either the number of memory-handling function calls, OR โ€” and this is the plot twist โ€” time, if you specify the -t option

periodt. that's the whole vibe check on the graph. ๐Ÿ’…


๐Ÿ’œ OPTIONS ๐Ÿ’œ

  • -o file, --output=file โ€” Name of the output file. like, where are we putting this masterpiece? ๐Ÿค”
  • -s string, --string=string โ€” Use string as the title inside the output graph. give it a name, bestie, it deserves one ๐ŸŽ€
  • -t, --time โ€” Use time (rather than number of function calls) as the scale for the X axis. switch up the timeline fr fr โฐ
  • -T, --total โ€” Also draw a graph of total memory consumption. more lines, more drama, more info ๐Ÿ”ฅ
  • -x size, --x-size=size โ€” Make the output graph size pixels wide. width is a choice and you get to make it ๐Ÿ“
  • -y size, --y-size=size โ€” Make the output graph size pixels high. vertical era ๐Ÿฆ‹
  • -?, --help โ€” Print a help message and exit. the classic "help me bestie" move ๐Ÿ˜ญ
  • --usage โ€” Print a short usage message and exit. a lil snack-sized version of help ๐Ÿ“
  • -V, --version โ€” Print version information and exit. who are you? what's your sign? what version? โญ

๐Ÿ’€ BUGS ๐Ÿ’€

found a bug? to report bugs, see http://www.gnu.org/software/libc/bugs.html โ€” go tell the grown-ups, not me ๐Ÿ™ˆ


๐ŸŒˆ EXAMPLES ๐ŸŒˆ

See memusage(1). yes, seriously, that's where the examples live. iykyk ๐Ÿ’–


๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘


and that's the whole page, bestie!! no cap, you're now fully certified in memusagestat ๐Ÿงš๐Ÿ’…

this lil rewrite came courtesy of Linux man-pages 6.20, dated 2026-02-08 โ€” stan a consistent release schedule โœจ

๐Ÿ“ฆ where this page comes from
  • arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • ๐Ÿ“œ the page's license: GPL-2.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms