* [lttng-dev] how to disable local file writing in relayd?
@ 2023-03-06 5:12 Yuan Bin via lttng-dev
2023-03-08 14:45 ` Mathieu Desnoyers via lttng-dev
2023-03-22 6:39 ` [lttng-dev] Fwd: " Yuan Bin via lttng-dev
0 siblings, 2 replies; 5+ messages in thread
From: Yuan Bin via lttng-dev @ 2023-03-06 5:12 UTC (permalink / raw)
To: lttng-dev
[-- Attachment #1.1: Type: text/plain, Size: 116 bytes --]
Can I disable local-file-writing in lttng-relayd to avoid the disk space
overhead, only using it as a live viewer?
[-- Attachment #1.2: Type: text/html, Size: 143 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [lttng-dev] how to disable local file writing in relayd?
2023-03-06 5:12 [lttng-dev] how to disable local file writing in relayd? Yuan Bin via lttng-dev
@ 2023-03-08 14:45 ` Mathieu Desnoyers via lttng-dev
2023-03-22 6:39 ` [lttng-dev] Fwd: " Yuan Bin via lttng-dev
1 sibling, 0 replies; 5+ messages in thread
From: Mathieu Desnoyers via lttng-dev @ 2023-03-08 14:45 UTC (permalink / raw)
To: Yuan Bin, lttng-dev
On 2023-03-06 00:12, Yuan Bin via lttng-dev wrote:
> Can I disable local-file-writing in lttng-relayd to avoid the disk
> space overhead, only using it as a live viewer?
Not explicitly, but you can store your temporary files on a tmpfs file
system (see lttng-relayd(8) --output command line parameter), which will
only keep the relayd files in memory, and use the tracefile rotation
feature to prevent the files from growing forever, e.g.:
https://lttng.org/docs/v2.13/#doc-enabling-disabling-channels
Example:Create a Linux kernel channel which rotates eight trace files of
4 MiB each for each stream.
lttng enable-channel --kernel --tracefile-count=8 \
--tracefile-size=4194304 my-channel
See lttng-enable-channel(1) for more info.
I hope this helps!
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 5+ messages in thread
* [lttng-dev] Fwd: how to disable local file writing in relayd?
2023-03-06 5:12 [lttng-dev] how to disable local file writing in relayd? Yuan Bin via lttng-dev
2023-03-08 14:45 ` Mathieu Desnoyers via lttng-dev
@ 2023-03-22 6:39 ` Yuan Bin via lttng-dev
2023-03-22 13:25 ` Mathieu Desnoyers via lttng-dev
1 sibling, 1 reply; 5+ messages in thread
From: Yuan Bin via lttng-dev @ 2023-03-22 6:39 UTC (permalink / raw)
To: lttng-dev
[-- Attachment #1.1: Type: text/plain, Size: 116 bytes --]
Can I disable local-file-writing in lttng-relayd to avoid the disk space
overhead, only using it as a live viewer?
[-- Attachment #1.2: Type: text/html, Size: 205 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-03-24 10:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 5:12 [lttng-dev] how to disable local file writing in relayd? Yuan Bin via lttng-dev
2023-03-08 14:45 ` Mathieu Desnoyers via lttng-dev
2023-03-22 6:39 ` [lttng-dev] Fwd: " Yuan Bin via lttng-dev
2023-03-22 13:25 ` Mathieu Desnoyers via lttng-dev
2023-03-24 10:44 ` Yuan Bin via lttng-dev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.