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
-toption
periodt. that's the whole vibe check on the graph. ๐
๐ OPTIONS ๐
-ofile,--output=file โ Name of the output file. like, where are we putting this masterpiece? ๐ค-sstring,--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 ๐ฅ-xsize,--x-size=size โ Make the output graph size pixels wide. width is a choice and you get to make it ๐-ysize,--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
- Copyright 2013, Peter Schiffer <pschiffe@redhat.com>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms