LTTNG-STATUS(1)
π LTTNG-STATUS β bestie's guide to the status page π
okay so this is lttng-status, from the LTTng Manual (the LTTNG-STATUS(1) girlies know β¨), and it does exactly one iconic thing: shows you the status of the current recording session. no cap.
β¨ NAME β¨
lttng-status β shows you the status of the current recording session π
πΈ SYNOPSIS πΈ
lttng [GENERAL OPTIONS] status [--channel=CHANNEL]
[--kernel] [--userspace] [--jul] [--log4j] [--log4j2] [--python]
[--style=(compact | breathe)] [--no-truncate]
[--mem-usage=(total | compact | full)]
π DESCRIPTION π
The lttng status command shows the status of the current recording session. (if you're like "girl what is a current recording session", go read lttng-concepts(7), it explains everything i promise π«Ά)
This command is literally equivalent to:
lttng [GENERAL OPTIONS] list CURSESSION [--channel=CHANNEL]
[--kernel] [--userspace]
[--jul] [--log4j] [--log4j2] [--python]
[--style=(compact | breathe)] [--no-truncate]
[--mem-usage=(total | compact | full)]
where CURSESSION is the name of the current recording session. it's giving same energy, shorter name π
The way this works: this command effectively forwards all its options straight to the lttng-list(1) command. so anything list can do, status can do too. it's not doing extra work, it's just repping the current session for you. periodt. π
π¦ OPTIONS π¦
lttng(1) has the GENERAL OPTIONS if you need them π
-c CHANNEL,--channel=CHANNELβ only list the properties and recording event rules of the channel(s) named CHANNEL. one channel only, bestie, we're being specific π―-j,--julβ only list thejava.util.loggingrecording event rules. java girlies rise π-k,--kernelβ only list the Linux kernel channels and their recording event rules. kernel mode, main character energy π-l,--log4jβ only list the Apache log4j 1.x recording event rules. yes, 1.x. retro era π--log4j2β only list the Apache Log4j 2 recording event rules. the glow-up sequel β¨--mem-usage=MODEβ set the channel memory usage display mode to MODE. and MODE is one of these three icons:total(default) β show the total memory usage of the channel. the big picture number πcompactβ show the memory usage for each Unix user or process, depending on the buffer ownership model of the channel (peep the--buffer-ownershipoption oflttng-enable-channel(1)). iykyk πfullβ show the memory usage for each CPU (if available). every core gets its moment π§
--no-truncateβ do NOT truncate long output lines. by default, the command truncates lines, adding an ellipsis, so it fits the current terminal width. so if you want the whole thing, no cuts, no edits, say it with me:--no-truncateπ«Ά-p,--pythonβ only list the Python recording event rules. snake girlies, this one's for you ππ--style=STYLEβ set the command output style to STYLE. STYLE is one of:breathe(default) β add empty lines so blocks of related information stand out. aesthetic spacing, we love a bit of breathing room πcompactβ make the output compact. no space, all business, efficiency queen π
-u,--userspaceβ only list the user space channels and their recording event rules. user space represent π
π Program information π
-h,--helpβ show help. this option attempts to launch/usr/bin/manto view this manual page. and you can override the manual pager path with theLTTNG_MAN_BIN_PATHenvironment variable if/usr/bin/manisn't your girl π--list-optionsβ list available command options and quit. a little menu of possibilities, then it dips π
β EXIT STATUS β
0β Success π1β Command error π2β Undefined command π3β Fatal error π¨4β Command warning (something went wrong during the command) π
π ENVIRONMENT π
LTTNG_ABORT_ON_ERRORβ set to1to abort the process after the first error is encountered. strictly no second chances πLTTNG_HOMEβ path to the LTTng home directory. defaults to$HOME. super useful when the Unix user running the commands has a non-writable home directory. we love a workaround π«Ά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. heads up: the legacy output doesn't show anything related to features introduced after LTTng 2.14, so don't come crying when your new faves are missing π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. custom pager, custom vibe β¨LTTNG_NO_UTF_8β set to1to NOT emit multi-byte UTF-8 sequences, even if the locale claims to support it. sometimes you just need plain bytes, no drama πLTTNG_SESSION_CONFIG_XSD_PATHβ path to the directory containing thesession.xsdrecording session configuration XML schema. schema location, that's it, that's the whole job πLTTNG_SESSIOND_PATHβ absolute path to the LTTng session daemon binary (seelttng-sessiond(8)) to spawn from thelttng-create(1)command. note: the--sessiond-pathgeneral option overrides this environment variable. option wins, always πLTTNG_TERM_COLORβ controls when to emit terminal SGR codes in the output. theNO_COLORenvironment variable overrides this. one of:auto(default) β only emit SGR codes when the standard output is connected to a color-capable terminal. reading the room, respectfully πalwaysβ always emit SGR codes. color everywhere, no restraint π¨neverβ never emit SGR codes. minimalism era π€
NO_COLORβ if set and not empty, then it's equivalent to settingLTTNG_TERM_COLORtonever. seeNO_COLOR <https://no-color.org/>to learn more. it's a whole movement π«Ά
π FILES π
$LTTNG_HOME/.lttngrcβ the Unix user's LTTng runtime configuration. this is where LTTng stores the name of the Unix user's current recording session between executions oflttng(1). and psst:lttng-create(1)andlttng-set-session(1)are the ones that set the current recording session π$LTTNG_HOME/lttng-tracesβ default output directory of LTTng traces in local and snapshot modes. you can override this path with the--outputoption of thelttng-create(1)command ποΈ$LTTNG_HOME/.lttngβ the Unix user's LTTng runtime and configuration directory. the whole home base π$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. so if you never touched it, it's just your regular home, bestie.
π§ 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 β
https://lists.lttng.org/for support and development:lttng-dev@lists.lttng.orgπ - IRC channel β
irc://irc.oftc.net/lttng:#lttngonirc.oftc.netπ¬ - 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 β https://github.com/lttng/lttng-tools/blob/master/LICENSE β for details. πβ¨
π THANKS π
Special thanks to Michel Dagenais and the DORSAL laboratory β http://www.dorsal.polymtl.ca/ β at Γcole Polytechnique de MontrΓ©al for the LTTng journey. literal legends π«Άπ
Also thanks to the Ericsson teams working on tracing, who helped greatly with detailed bug reports and unusual test cases. the way they found the weirdest edge casesβ¦ obsessed ππ
π₯ SEE ALSO π₯
lttng(1), lttng-create(1), lttng-list(1), lttng-set-session(1), lttng-concepts(7)
and that's the whole page, bestie!! β¨ this was LTTng 2.15.1, dated 27 October 2025, signing off β go check your session status, you know you want to π ππ¦
π¦ 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