LTTNG-MEMTOP(1)
π LTTNG-MEMTOP β lttng-memtop π
okay bestie, welcome to the LTTng analyses memory top page, from the LTTNG-MEMTOP(1) manual (User Commands section, obvi). it lives in the LTTng Analyses universe and it's here to show you who's eating all the memory. no cap. π«Ά
β¨ NAME β¨
lttng-memtop β LTTng analyses memory top. that's it, that's the vibe. she analyzes, she tops, she serves memory stats. π
πΈ DESCRIPTION πΈ
here's how you summon her, fr fr:
usage: lttng-memtop [-h] [-r REFRESH] [--gmt] [--skip-validation]
[--begin BEGIN] [--end END] [--period PERIOD]
[--period-captures PERIOD_CAPTURES] [--period-begin PERIOD_BEGIN]
[--period-end PERIOD_END] [--period-begin-key PERIOD_BEGIN_KEY]
[--period-end-key PERIOD_END_KEY] [--period-key-value
PERIOD_KEY_VALUE] [--cpu CPU] [--timerange TIMERANGE]
[--progress-use-size] [--no-intersection] [-V] [--debug]
[--no-color] [--no-progress] [--procname PROCNAME] [--tid TID]
[--limit LIMIT] [--top] <path/to/trace>
lowkey that's a lot of flags but we're gonna go through every single one together, hand in hand. π«Ά
ngl, the description in the original is literally just "The memtop command." so. there it is. the memtop command. iconic behaviour honestly. π
π positional arguments π
<path/to/trace>β the trace path. this is literally where your trace lives. you gotta give her this or she has nothing to look at. π
π¦ optional arguments π¦
-h,--helpβ shows this help message and exits. the classic. the "help me i'm lost" button. π-r REFRESH,--refresh REFRESHβ the refresh period, and you can slap an optional units suffix on it (default units:s). so like, she'll re-draw the screen on that rhythm. β--gmtβ manipulate timestamps based on GMT instead of local time. timezone girlie behaviour. π--skip-validationβ skip the trace validation. yolo mode, essentially. π₯--begin BEGINβ start time, formatted likehh:mm:ss[.nnnnnnnnn]. yes, nanoseconds are invited to the party. β¨--end ENDβ end time, formatted likehh:mm:ss[.nnnnnnnnn]. same deal, other end of the window. π--period PERIODβ period definition. she likes a defined period, periodt. π--period-captures PERIOD_CAPTURESβ period captures definition.--period-begin PERIOD_BEGINβ analysis period start marker event name. this is the event that screams "PERIOD STARTS NOW". π£--period-end PERIOD_ENDβ analysis period end marker event name. β οΈ requires--period-begin, so don't come in with an end and no beginning, bestie, that's not how arcs work.--period-begin-key PERIOD_BEGIN_KEYβ optional, a list of event field names used to match period markers (default:cpu_id). so if you don't say anything, it's riding withcpu_id. π--period-end-key PERIOD_END_KEYβ optional, a list of event field names used to match the period marker. if none are specified, it uses the same as--period-begin-key. matching outfits, cute. π--period-key-value PERIOD_KEY_VALUEβ optional, defines a fixed key value that a period must correspond to in order to be considered. like a lil bouncer at the door. π--cpu CPUβ filter the results only for this list of CPU IDs. pick your fave CPUs. π₯οΈ--timerange TIMERANGEβ time range, written as[begin,end]. brackets stay on. πΈ--progress-use-sizeβ use trace size to approximate progress. approximation girlie. β¨--no-intersectionβ disable stream intersection mode. she's turning off the overlap-matching, okay?? π-V,--versionβ show the program's version number and exit. quick lil flex. π--debugβ enable debug mode (or set theLTTNG_ANALYSES_DEBUGenvironment variable). yes she does accept env vars, she's flexible like that. π§--no-colorβ disable colored output. for when you're feeling monochrome and minimal (we support you but we don't get it). π--no-progressβ don't display the progress bar. no lil bar creeping across your terminal, you're on your own. π--procname PROCNAMEβ filter the results only for this list of process names. name names, bestie. π--tid TIDβ filter the results only for this list of TIDs. thread IDs only, we're being specific. π§΅--limit LIMITβ limit to top X (default =10). so by default you get the top ten, and you can change that number to whatever your heart desires. π--topβ output the top results. this is literally the whole point of a memtop, but go off. π
π SEE ALSO π
no SEE ALSO section in this one bestie β the original doesn't have one, so we're not inventing references. keeping it honest, fr fr. π«Ά
that's the whole page!! every flag, every default, every format string, all present and accounted for, nothing skipped, no cap. π¦
LTTng Analyses v0.6.0 β January 2017 π
and that's the sign-off from your favourite LTTNG-MEMTOP(1) manual, written with love, hype, and absolutely zero removed options. go analyze that memory, main character. β¨ππ
π¦ where this page comes from
- debian bookworm: python3-lttnganalyses 0.6.1-3 Β· MIT
- ubuntu jammy: python3-lttnganalyses 0.6.1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms