LTTNG-CPUTOP(1)

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

πŸ’» lttng-cputop β€” bestie's guide to LTTng analyses CPU top ✨

okay so this is lttng-cputop from the LTTng Analyses manual (section 1, user commands, iykyk πŸ’…) and it is literally the CPU-top analysis girlie of the LTTng universe. she looks at your trace and tells you which CPUs are doing the most. main character energy fr fr πŸ‘‘


🌸 NAME 🌸

lttng-cputop β€” LTTng analyses CPU top

like. that's her. that's the whole vibe. she analyses CPU top. no cap πŸŽ€


✨ SYNOPSIS ✨

usage: lttng-cputop [-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] [--procname PROCNAME] [--tid TID]
       [--limit LIMIT] [--top] <path/to/trace>

πŸ’– DESCRIPTION πŸ’–

The cputop command. that's it, that's the sentence. she's a cputop command and she knows it 🫢


πŸ¦‹ positional arguments πŸ¦‹

  • <path/to/trace> β€” the trace path bestie. hand her your trace and she'll do her thing πŸ“

πŸŽ€ optional arguments πŸŽ€

  • -h, --help β€” shows this help message and dips. classic. show this help message and exit ✨
  • -r REFRESH, --refresh REFRESH β€” Refresh period, and you can slap an optional units suffix on it (default units: s, so seconds unless you say otherwise) ⏱️
  • --gmt β€” Manipulate timestamps based on GMT instead of local time. timezone relocation, slay 🌍
  • --skip-validation β€” Skip the trace validation. she's trusting you on this one, don't make it weird πŸ™ˆ
  • --begin BEGIN β€” start time: hh:mm:ss[.nnnnnnnnn] β€” yes the nanoseconds are optional, she's flexible πŸ’œ
  • --end END β€” end time: hh:mm:ss[.nnnnnnnnn] β€” same deal, same format 🌸
  • --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, so don't be out here ending things you never started, that's not the vibe) 🏁
  • --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 reuses, she recycles, she's eco-friendly 🌈
  • --period-key-value PERIOD_KEY_VALUE β€” Optional, define a fixed key value to which a period must correspond to be considered. picky in a cute way πŸ’…
  • --cpu CPU β€” Filter the results only for this list of CPU IDs πŸ–₯️
  • --timerange TIMERANGE β€” time range: [begin,end] β€” brackets included, she's specific like that ⭐
  • --progress-use-size β€” use trace size to approximate progress πŸ“
  • --no-intersection β€” disable stream intersection mode. streams stay in their own lanes, periodt πŸ›£οΈ
  • -V, --version β€” show program's version number and exit. she'll tell you who she is πŸ‘‘
  • --debug β€” Enable debug mode (or set the LTTNG_ANALYSES_DEBUG environment variable, your choice bestie, both routes work) πŸ›
  • --no-color β€” Disable colored output. greyscale era, we respect it πŸ–€
  • --no-progress β€” Don't display the progress bar. no little bar, just vibes 😌
  • --procname PROCNAME β€” Filter the results only for this list of process names 🏷️
  • --tid TID β€” Filter the results only for this list of TIDs πŸ†”
  • --limit LIMIT β€” Limit to top X (default = 10) πŸ”Ÿ
  • --top β€” Output the top results πŸ₯‡

heads up bestie: --period-end genuinely will not work without --period-begin. that's a real dependency, not a suggestion πŸ’€
also --period-end-key quietly borrows --period-begin-key if you leave it empty. it's giving "sharing is caring" 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

ngl there's nothing else listed here, she's a standalone queen. go run -h if you want the recap ✨


LTTng Analyses v0.6.0 πŸ¦‹ January 2017 β€” okay that's the whole page, thank you for coming to my TED talk, go top some CPUs, love u bye πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from