LTTNG-PERIODSTATS(1)

πŸ“¦ version 0.6.1, in debian bookworm, ubuntu jammy

πŸŽ€ 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 set LTTNG_ANALYSES_DEBUG environment 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 (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 😭 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