LTTNG-SCHEDTOP(1)
πΈ NAME πΈ
lttng-schedtop β hey bestie π it's the LTTng analyses Scheduler top, and yeah, it hangs out in the User Commands part of your manual (section 1, the classics π
). It's literally here to look at your scheduler and give you the β¨topβ¨ tea.
β¨ DESCRIPTION β¨
So here's the whole vibe, the usage, the whole entire thing, no cap:
usage: lttng-schedtop [-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>
It's the sched command, periodt. π«Ά
π positional arguments π
<path/to/trace>β the trace path, bestie. That's the trace you're feeding it. Feed it. π
π optional arguments π
-h,--helpβ shows this help message and then dips, exits. Classic.-r REFRESH,--refresh REFRESHβ the refresh period, and you can slap an optional units suffix on it (the default units ares). π--gmtβ manipulates timestamps based on GMT instead of local time. Timezone-shifting era. π--skip-validationβ skips the trace validation. It's giving trust issues but okay, we move. π--begin BEGINβ the start time, formattedhh:mm:ss[.nnnnnnnnn]. Not a drill, nanoseconds optional.--end ENDβ the end time, alsohh:mm:ss[.nnnnnnnnn]. Matching energy, slay.--period PERIODβ period definition. That's the whole thing, girl. β¨--period-captures PERIOD_CAPTURESβ period captures definition.--period-begin PERIOD_BEGINβ the analysis period start marker event name.--period-end PERIOD_ENDβ the analysis period end marker event name, and heads up, it requires--period-begin. They're a package deal, fr fr. π«--period-begin-key PERIOD_BEGIN_KEYβ optional, a list of event field names used to match period markers (default:cpu_id).--period-end-key PERIOD_END_KEYβ optional, a list of event field names used to match period marker. And if none is specified, it uses the same--period-begin-key. Copying its bestie's notes, iconic. π--period-key-value PERIOD_KEY_VALUEβ optional, defines a fixed key value that a period must correspond to before it's even considered. Gatekeeping, but make it β¨analysisβ¨.--cpu CPUβ filters the results for only this list of CPU IDs. Pick your faves. π―--timerange TIMERANGEβ the time range, written as[begin,end].--progress-use-sizeβ uses trace size to approximate the progress. Vibes-based progress bar, but sanctioned. π¦--no-intersectionβ disables stream intersection mode.-V,--versionβ shows the program's version number and exits. Bye bestie π--debugβ enables debug mode (or you can set theLTTNG_ANALYSES_DEBUGenvironment variable, same difference π).--no-colorβ disables colored output. A no-color zone, devastating but valid. π--no-progressβ doesn't display the progress bar. Just raw silence while it cooks. π§--min MINβ filters out durations shorter than min usec. Sorry short kings. π--max MAXβ filters out durations longer than max usec. And sorry long ones too, balanced as all things should be. β--procname PROCNAMEβ filters the results for only this list of process names.--tid TIDβ filters the results for only this list of TIDs.--freqβ outputs the frequency distribution of sched switch latencies. π--freq-resolution FREQ_RESOLUTIONβ the frequency distribution resolution (default20).--freq-uniformβ uses a uniform resolution across distributions. Consistency queen. π--freq-seriesβ consolidates the frequency distribution histogram as a single one. One histogram to rule them all.--limit LIMITβ limits to the top X (default =10).--topβ outputs the top sched switch latencies. The main character output, honestly. π₯--logβ outputs the sched switches in chronological order. Timeline mode, no skipping ahead. π--statsβ outputs sched switch statistics. Numbers girlies rise.--totalβ groups all results together (applies tostatsandfreq). β¨Everyone in one pileβ¨--per-tidβ groups results per-TID (applies tostatsandfreq) β and this one is the default, so it's already doing the most without you asking. π«Ά--per-prioβ groups results per-prio (applies tostatsandfreq).
LTTng Analyses v0.6.0, January 2017 β that's the source, the version and the date, straight from the footer, and that's the whole page bestie. Go run it on a trace and tell me everything. πβ¨π
π¦ 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