LTTNG-CPUTOP(1)
π» lttng-cputop β bestie's guide to LTTng analyses CPU top β¨
okay so this is lttng-cputop from the LTTng Analyses manual (section 1, user commands, iykyk π
) and it is literally the CPU-top analysis girlie of the LTTng universe. she looks at your trace and tells you which CPUs are doing the most. main character energy fr fr π
πΈ NAME πΈ
lttng-cputop β LTTng analyses CPU top
like. that's her. that's the whole vibe. she analyses CPU top. no cap π
β¨ SYNOPSIS β¨
usage: lttng-cputop [-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>
π DESCRIPTION π
The cputop command. that's it, that's the sentence. she's a cputop command and she knows it π«Ά
π¦ positional arguments π¦
<path/to/trace>β the trace path bestie. hand her your trace and she'll do her thing π
π optional arguments π
-h,--helpβ shows this help message and dips. classic. show this help message and exit β¨-r REFRESH,--refresh REFRESHβ Refresh period, and you can slap an optional units suffix on it (default units:s, so seconds unless you say otherwise) β±οΈ--gmtβ Manipulate timestamps based on GMT instead of local time. timezone relocation, slay π--skip-validationβ Skip the trace validation. she's trusting you on this one, don't make it weird π--begin BEGINβ start time:hh:mm:ss[.nnnnnnnnn]β yes the nanoseconds are optional, she's flexible π--end ENDβ end time:hh:mm:ss[.nnnnnnnnn]β same deal, same format πΈ--period PERIODβ Period definition π--period-captures PERIOD_CAPTURESβ Period captures definition πΈ--period-begin PERIOD_BEGINβ Analysis period start marker event name π©--period-end PERIOD_ENDβ Analysis period end marker event name (requires--period-begin, so don't be out here ending things you never started, that's not the vibe) π--period-begin-key PERIOD_BEGIN_KEYβ Optional, list of event field names used to match period markers (default:cpu_id) π--period-end-key PERIOD_END_KEYβ Optional, list of event field names used to match period marker. If none specified, use the same--period-begin-key. she reuses, she recycles, she's eco-friendly π--period-key-value PERIOD_KEY_VALUEβ Optional, define a fixed key value to which a period must correspond to be considered. picky in a cute way π--cpu CPUβ Filter the results only for this list of CPU IDs π₯οΈ--timerange TIMERANGEβ time range:[begin,end]β brackets included, she's specific like that β--progress-use-sizeβ use trace size to approximate progress π--no-intersectionβ disable stream intersection mode. streams stay in their own lanes, periodt π£οΈ-V,--versionβ show program's version number and exit. she'll tell you who she is π--debugβ Enable debug mode (or set theLTTNG_ANALYSES_DEBUGenvironment variable, your choice bestie, both routes work) π--no-colorβ Disable colored output. greyscale era, we respect it π€--no-progressβ Don't display the progress bar. no little bar, just vibes π--procname PROCNAMEβ Filter the results only for this list of process names π·οΈ--tid TIDβ Filter the results only for this list of TIDs π--limit LIMITβ Limit to top X (default =10) π--topβ Output the top results π₯
heads up bestie:--period-endgenuinely will not work without--period-begin. that's a real dependency, not a suggestion π
also--period-end-keyquietly borrows--period-begin-keyif you leave it empty. it's giving "sharing is caring" π«Ά
π SEE ALSO π
ngl there's nothing else listed here, she's a standalone queen. go run -h if you want the recap β¨
LTTng Analyses v0.6.0 π¦ January 2017 β okay that's the whole page, thank you for coming to my TED talk, go top some CPUs, love u bye πβ¨π
π¦ 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