LTTNG-PERIODLOG-MI(1)

๐Ÿ“ฆ version 0.6.1, in debian bookworm, ubuntu jammy

โœจ NAME โœจ

okay so bestie, welcome to lttng-periodlog-mi โ€” it's the LTTng analyses period log machine interface ๐Ÿ’… this is the User Commands page, so buckle up, we're doing CLI things.


๐ŸŒธ DESCRIPTION ๐ŸŒธ

the whole vibe in one line, fr fr:

usage: lttng-periodlog-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] [--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>

and like, what is it? it's The periods command. ๐Ÿฆ‹ that's the energy. period.


๐ŸŽ€ positional arguments ๐ŸŽ€

  • <path/to/trace> โ€” literally just the trace path, bestie. hand it over. ๐Ÿ“

๐Ÿ’– optional arguments ๐Ÿ’–

  • -h, --help โ€” show this help message and exit. the classic "help me" button, she never misses ๐Ÿ™ˆ
  • -r REFRESH, --refresh REFRESH โ€” Refresh period, with optional units suffix (default units: s) โฑ๏ธ
  • --gmt โ€” Manipulate timestamps based on GMT instead of local time ๐ŸŒ no more timezone drama
  • --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) โš ๏ธ like, it genuinely needs the begin one, they're a package deal
  • --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 ๐Ÿซถ
  • --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 set LTTNG_ANALYSES_DEBUG environment variable) ๐Ÿ”
  • --no-color โ€” Disable colored output. tragic, but okay ๐Ÿ˜ญ
  • --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 (default 20)
  • --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 ๐Ÿ’€ yes bestie the docs really just say that
  • --select SELECT โ€” FIXME ๐Ÿ’€ it's giving unfinished homework
  • --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 fighter

๐Ÿซถ reminder bestie: the two FIXME entries are literally in the original manual, i'm not being lazy, i'm being accurate. no cap.

๐ŸŒˆ the cute sign-off ๐ŸŒˆ

and that's the whole page, periodt ๐Ÿ’œ this one came from LTTng Analyses v0.6.0, dated January 2017, and the page itself is LTTNG-PERIODLOG-MI(1) โ€” go forth and analyse those periods, main character ๐ŸŽ€โœจ๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from