LTTNG-SCHEDTOP-MI(1)
π LTTNG-SCHEDTOP-MI π
okay bestie, so this one is from the LTTng analyses family β it's the Scheduler top machine interface, aka the thing that stares at your scheduler and tells you which sched switches are being dramatic. the manual page name is LTTNG-SCHEDTOP-MI(1), lowercase the vibes, uppercase the importance. let's get into it π¦
β¨ NAME β¨
lttng-schedtop-mi β LTTng analyses Scheduler top machine interface π
πΈ DESCRIPTION πΈ
here's how you run it, fr fr:
usage: lttng-schedtop-mi [-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] [--min MIN] [--max MAX] [--procname
PROCNAME] [--tid TID] [--freq] [--freq-resolution
FREQ_RESOLUTION] [--freq-uniform] [--freq-series] [--limit LIMIT]
[--top] [--log] [--stats] [--total] [--per-tid] [--per-prio]
<path/to/trace>
and like, it's the sched command. that's literally what it says. iconic. β¨
π positional arguments π
<path/to/trace>β the trace path, bestie. point it at your trace. that's the whole job. π«Ά
π optional arguments π
-h,--helpβ shows this help message and then dips. exits, babes. π-r REFRESH,--refresh REFRESHβ how often to refresh, with an optional units suffix. default units ares(seconds). β±οΈ--gmtβ manipulate timestamps based on GMT instead of local time. timezone girlies rise π°οΈ--skip-validationβ skip the trace validation. bold move, but okay π--begin BEGINβ start time, formattedhh:mm:ss[.nnnnnnnnn]--end ENDβ end time, formattedhh:mm:ss[.nnnnnnnnn]--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, no cap)--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, it uses the same--period-begin-keyβ¨--period-key-value PERIOD_KEY_VALUEβ Optional, define a fixed key value to which a period must correspond to be considered.--cpu CPUβ filter the results only for this list of CPU IDs π₯οΈ--timerange TIMERANGEβ time range, formatted[begin,end]--progress-use-sizeβ use trace size to approximate progress π--no-intersectionβ disable stream intersection mode-V,--versionβ show the program's version number and exit. flex the version, queen π--debugβ enable debug mode (or set theLTTNG_ANALYSES_DEBUGenvironment variable) π--no-colorβ disable colored output. no π for you, sad!--no-progressβ don't display the progress bar--min MINβ filter out durations shorter than min usec--max MAXβ filter out durations longer than max usec--procname PROCNAMEβ filter the results only for this list of process names--tid TIDβ filter the results only for this list of TIDs--freqβ output the frequency distribution of sched switch latencies π--freq-resolution FREQ_RESOLUTIONβ Frequency distribution resolution (default20)--freq-uniformβ use a uniform resolution across distributions--freq-seriesβ consolidate frequency distribution histogram as a single one--limit LIMITβ limit to top X (default =10)--topβ output the top sched switch latencies π₯--logβ output the sched switches in chronological order--statsβ output sched switch statistics--totalβ group all results (applies to stats and freq)--per-tidβ group results per-TID (applies to stats and freq) β this is the default--per-prioβ group results per-prio (applies to stats and freq)
ok so lowkey important:--period-endrequires--period-begin. don't come for me, that's just what the page says π
that's the whole thing, bestie. go forth and sched-top your little heart out. no cap, this is genuinely useful. periodt. πβ¨π
LTTng Analyses v0.6.0 β January 2017 π¦ sending u this from the archive, 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