LTTNG-PERIODSTATS(1)
π NAME π
lttng-periodstats β LTTng analyses period statistics π
β¨ DESCRIPTION β¨
okay bestie so the usage is literally this, exactly this, no cap:
lttng-periodstats [-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] [--freq]
[--freq-resolution FREQ_RESOLUTION] [--freq-uniform]
[--freq-series] [--limit LIMIT] [--top] [--log] [--stats]
[--min-duration MIN_DURATION] [--max-duration MAX_DURATION]
[--aggregate-by AGGREGATE_BY] [--select SELECT] [--group-by
GROUP_BY] [--order-by ORDER_BY] <path/to/trace>
The periods command. that's it, that's the whole vibe π«Ά
πΈ positional arguments: πΈ
<path/to/trace>β trace path πΊοΈ like, where your trace actually lives, bestie
π optional arguments: π
-h,--helpβ show this help message and exit β¨ the classic, she's iconic for a reason-r REFRESH,--refresh REFRESHβ Refresh period, with optional units suffix (default units:s) β±οΈ--gmtβ Manipulate timestamps based on GMT instead of local time π lowkey important if you're hopping timezones--skip-validationβ Skip the trace validation π living dangerously, love that for you--begin BEGINβ start time:hh:mm:ss[.nnnnnnnnn]π--end ENDβ end time:hh: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) π heads up, she needs her partner in crime--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π matching keys, matching energy--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:[begin,end]β³--progress-use-sizeβ use trace size to approximate progress π--no-intersectionβ disable stream intersection mode π«βοΈ-V,--versionβ show program's version number and exit π--debugβ Enable debug mode (or setLTTNG_ANALYSES_DEBUGenvironment variable) π--no-colorβ Disable colored output π¨β‘οΈβͺ (sad, but valid)--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 βοΈ--freqβ Output statistics about periods durations π--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 durations π--logβ Output the sched switches in chronological order ποΈ--statsβ Output sched switch statistics π--min-duration MIN_DURATIONβ Filter out, periods shorter that duration (usec) βοΈ--max-duration MAX_DURATIONβ Filter out, periods longer than duration (usec) βοΈ--aggregate-by AGGREGATE_BYβFIXMEπ yeah bestie, that's literally what the manpage says, I'm not making stuff up--select SELECTβFIXMEπ same, we don't know either--group-by GROUP_BYβ Present the results grouped by a list of fields(period.captured_field[, period.captured_field2]) π§Ί--order-by ORDER_BYβhierarchy,timeπͺβ° pick your sorting era
and that's the whole page, bestie π go forth and analyse those periods β¨
this was LTTng Analyses v0.6.0, dated January 2017 β yeah she's vintage, she's a classic, we stan an OG ππ
π¦ 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