LTTNG-IOUSAGETOP(1)

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

πŸ’… LTTNG-IOUSAGETOP πŸ’…

okay bestie, gather round, because this one is lttng-iousagetop from the LTTng analyses fam β€” it's the tool that does the whole "top" thing but for I/O. Yes. Like top, but for your I/O requests. She's a User Command, she's iconic, she's gonna tell you who's hogging the I/O. πŸ¦‹


✨ NAME ✨

lttng-iousagetop β€” LTTng analyses IO usage top


🌸 DESCRIPTION 🌸

ok so here's the vibe, the invocation goes a little something like this:

usage: lttng-iousagetop [-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] [--log]
       [--limit LIMIT] [--top] [--stats] [--freq] [--freq-resolution
       FREQ_RESOLUTION] [--freq-uniform] [--freq-series] [--usage]
       [--minsize MINSIZE] [--maxsize MAXSIZE] <path/to/trace>

The I/O command. 🫢 That's literally what it says. She's the I/O one.

πŸŽ€ positional arguments πŸŽ€

  • <path/to/trace> β€” trace path. that's it, that's the whole thing. hand her the path to your trace and she'll do her little analysis thing. πŸ’–

πŸ’… optional arguments πŸ’…

  • -h, --help β€” show this help message and exit. the classic. when in doubt, -h it out. ✨
  • -r REFRESH, --refresh REFRESH β€” Refresh period, with optional units suffix (default units: s). so you can say like 5 and it's 5 seconds, or give it a suffix if you're feeling fancy.
  • --gmt β€” Manipulate timestamps based on GMT instead of local time. no more "wait what timezone was this in" 😭
  • --skip-validation β€” Skip the trace validation. living dangerously, love that for you.
  • --begin BEGIN β€” start time: hh:mm:ss[.nnnnnnnnn]. nanoseconds optional, diva behavior optional but encouraged.
  • --end END β€” end time: hh:mm:ss[.nnnnnnnnn]. same format, other end of the sandwich.
  • --period PERIOD β€” Period definition. yes that's the whole description. slay.
  • --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). ⚠️ bestie she NEEDS her --period-begin, they're a package deal, don't separate them.
  • --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. she shares, it's cute.
  • --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. pick your faves.
  • --timerange TIMERANGE β€” time range: [begin,end].
  • --progress-use-size β€” use trace size to approximate progress. progress bar but make it estimated πŸ’€
  • --no-intersection β€” disable stream intersection mode. turning off the default, noted.
  • -V, --version β€” show program's version number and exit.
  • --debug β€” Enable debug mode (or set LTTNG_ANALYSES_DEBUG environment variable). two ways to get the tea, your choice πŸ“
  • --no-color β€” Disable colored output. for when the rainbow is too much (never, but okay).
  • --no-progress β€” Don't display the progress bar. she'll just sit there quietly, mysterious, main character energy.
  • --min MIN β€” Filter out durations shorter than min usec. bye tiny durations πŸ‘‹
  • --max MAX β€” Filter out durations longer than max usec. bye big durations πŸ‘‹
  • --log β€” Output the I/O requests in chronological order. timeline girlies rise up.
  • --limit LIMIT β€” Limit to top X (default = 10). ten is the default. ten little faves.
  • --top β€” Output the top I/O latencies by category.
  • --stats β€” Output the I/O latency statistics.
  • --freq β€” Output the I/O latency frequency distribution.
  • --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.
  • --usage β€” Output the I/O usage.
  • --minsize MINSIZE β€” Filter out, I/O operations working with less that minsize bytes. (that's the original wording bestie, "less that", I'm just the messenger 🫢)
  • --maxsize MAXSIZE β€” Filter out, I/O operations working with more that maxsize bytes. (again, "more that", verbatim, no cap)

πŸ’€ quick vibe check: --period-end will NOT work without --period-begin. don't do it. don't be that girl.

that's the whole page babes, every flag accounted for, nothing skipped, we ate and left no crumbs. πŸ’–βœ¨

LTTng Analyses v0.6.0 🌈 January 2017 β€” yeah she's an elder but she still serves. mwah πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from