LTTNG-DISABLE-ROTA(1)
π
lttng-disable-rotation β from the LTTng Manual (yes bestie, LTTNG-DISABLE-ROTA(1), that's the one)
β¨ NAME β¨
lttng-disable-rotation β unset an LTTng recording session rotation schedule π
πΈ SYNOPSIS πΈ
lttng [GENERAL OPTIONS] disable-rotation [--session=SESSION]
(--timer | --size | --timer --size)
π¦ DESCRIPTION π¦
okay so the lttng disable-rotation command unsets a rotation schedule that you (or someone iconic) previously set with the lttng-enable-rotation(1) command. and who is it doing this for?? depends:
- with the
--session=SESSIONoption β it's for the recording session named SESSION, periodt π - without the
--sessionoption β it's for the current recording session (go peek atlttng-concepts(7)if you wanna learn more about what "the current recording session" even means, iykyk)
also go read lttng-concepts(7) to learn more about the recording session rotation and trace chunk concepts β it's giving lore, honestly π
and scroll down to the EXAMPLES section for usage examples, because seeing it > reading it, fr fr β¨
π OPTIONS π
see lttng(1) for GENERAL OPTIONS β those are the shared ones, not our problem here π
Rotation schedule condition π
--sizeβ unset the rotation schedule that was previously set with the--sizeoption of thelttng-enable-rotation(1)command. bye bye size-based schedule π--timerβ unset the rotation schedule that was previously set with the--timeroption of thelttng-enable-rotation(1)command. the timer schedule is so over πβ¨
Recording target π«Ά
-sSESSION,--session=SESSION β unset a rotation schedule for the recording session named SESSION instead of the current recording session. main character session selection, no cap π
Program information β
-h,--helpβ show help.
this option attempts to launch /usr/bin/man to view this manual page. override the manual pager path with the LTTNG_MAN_BIN_PATH environment variable. it's lowkey doing its best π₯Ί
--list-optionsβ list available command options and quit. a lil menu, a lil snack, we love her π
π EXIT STATUS π
0β success π ate and left no crumbs1β command error π2β undefined command π3β fatal error π not slay4β command warning (something went wrong during the command) π
π ENVIRONMENT π
LTTNG_ABORT_ON_ERRORβ set to1to abort the process after the first error is encountered. zero patience, we respect it βLTTNG_HOMEβ path to the LTTng home directory.
defaults to $HOME.
useful when the Unix user running the commands has a non-writable home directory. (we've all been there π« )
LTTNG_LIST_LEGACYβ set to1to use the legacy output format (LTTng 2.14 and earlier) for thelttng-list(1)command instead of the modern output format.
note that the legacy output doesn't show anything related to features introduced after LTTng 2.14. so like, it's giving nostalgic but also missing stuff π΅
LTTNG_MAN_BIN_PATHβ absolute path to the manual pager to use to read the LTTng command-line help (withlttng-help(1)or with the--helpoption) instead of/usr/bin/man.LTTNG_NO_UTF_8β set to1to NOT emit multi-byte UTF-8 sequences, even if the locale claims to support it. plain text mode on purpose, respect π§LTTNG_SESSION_CONFIG_XSD_PATHβ path to the directory containing thesession.xsdrecording session configuration XML schema.LTTNG_SESSIOND_PATHβ absolute path to the LTTng session daemon binary (seelttng-sessiond(8)) to spawn from thelttng-create(1)command.
the --sessiond-path general option overrides this environment variable. so the CLI wins the vibe check π
LTTNG_TERM_COLORβ controls when to emit terminal SGR codes in the output.
the NO_COLOR environment variable overrides this.
one of:
auto(default) β only emit SGR codes when the standard output is connected to a color-capable terminal.alwaysβ always emit SGR codes. rainbow always on πneverβ never emit SGR codes. boring but valid π«
NO_COLORβ if set and not empty, then it's equivalent to settingLTTNG_TERM_COLORtonever.
see NO_COLOR at https://no-color.org/ to learn more.
π FILES π
$LTTNG_HOME/.lttngrcβ Unix user's LTTng runtime configuration.
this is where LTTng stores the name of the Unix user's current recording session between executions of lttng(1). lttng-create(1) and lttng-set-session(1) set the current recording session. the memory keeper bestie π§ β¨
$LTTNG_HOME/lttng-tracesβ default output directory of LTTng traces in local and snapshot modes.
override this path with the --output option of the lttng-create(1) command.
$LTTNG_HOME/.lttngβ Unix user's LTTng runtime and configuration directory.$LTTNG_HOME/.lttng/sessionsβ default directory containing the Unix user's saved recording session configurations (seelttng-save(1)andlttng-load(1))./etc/lttng/sessionsβ directory containing the system-wide saved recording session configurations (seelttng-save(1)andlttng-load(1)).
Note π‘:$LTTNG_HOMEdefaults to the value of theHOMEenvironment variable.
π EXAMPLES π
Example 1. Unset the size-based rotation schedule of the current recording session.
see the --size option π
$ lttng disable-rotation --size
Example 2. Unset the periodic rotation schedule of a specific recording session.
see the --timer and --session options π
$ lttng disable-rotation --session=my-session --timer
π₯ RESOURCES π₯
- LTTng project website β
https://lttng.org - LTTng documentation β
https://lttng.org/docs - LTTng bug tracker β
https://bugs.lttng.org - Git repositories β
https://git.lttng.org - GitHub organization β
https://github.com/lttng - Continuous integration β
https://ci.lttng.org/ - Mailing list for support and development:
lttng-dev@lists.lttng.orgβhttps://lists.lttng.org/ - IRC channel:
#lttngonirc.oftc.netβirc://irc.oftc.net/lttng - Mastodon β
https://mastodon.social/@lttng
π COPYRIGHT π
this program is part of the LTTng-tools project.
LTTng-tools is distributed under the GNU General Public License version 2 β http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html. see the LICENSE file for details β https://github.com/lttng/lttng-tools/blob/master/LICENSE.
π«Ά THANKS π«Ά
special thanks to Michel Dagenais and the DORSAL laboratory at Γcole Polytechnique de MontrΓ©al (http://www.dorsal.polymtl.ca/) for the LTTng journey. iconic behavior, truly ππ
also thanks to the Ericsson teams working on tracing which helped us greatly with detailed bug reports and unusual test cases. the realest π
π§ SEE ALSO π§
lttng(1), lttng-enable-rotation(1), lttng-rotate(1), lttng-concepts(7)
k that's the whole page bestie π
this was LTTng 2.15.1, dated 14 June 2021, and the page you just read is LTTNG-DISABLE-ROTA(1) β now go unset a rotation schedule, you've got this πβ¨π
π¦ where this page comes from
- ubuntu stonking: lttng-tools 2.15.1-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms