1TRACE-CMD-LISTEN(1) libtracefs Manual TRACE-CMD-LISTEN(1)
2
3
4
6 trace-cmd-listen - listen for incoming connection to record tracing.
7
9 trace-cmd listen -p port [OPTIONS]
10
12 The trace-cmd(1) listen sets up a port to listen to waiting for
13 connections from other hosts that run trace-cmd-record(1) with the -N
14 option. When a connection is made, and the remote host sends data, it
15 will create a file called trace.HOST:PORT.dat. Where HOST is the name
16 of the remote host, and PORT is the port that the remote host used to
17 connect with.
18
20 -p port
21 This option will specify the port to listen to.
22
23 -D
24 This options causes trace-cmd listen to go into a daemon mode and
25 run in the background.
26
27 -V
28 Listen on a vsocket instead. This is useful for tracing between
29 host and guest VMs.
30
31 -d dir
32 This option specifies a directory to write the data files into.
33
34 -o filename
35 This option overrides the default trace in the trace.HOST:PORT.dat
36 that is created when a remote host connects.
37
38 -l filename
39 This option writes the output messages to a log file instead of
40 standard output.
41
42 --verbose[=level]
43 Set the log level. Supported log levels are "none", "critical",
44 "error", "warning", "info", "debug", "all" or their identifiers
45 "0", "1", "2", "3", "4", "5", "6". Setting the log level to
46 specific value enables all logs from that and all previous levels.
47 The level will default to "info" if one is not specified.
48
49 Example: enable all critical, error and warning logs
50
51 trace-cmd listen --verbose=warning
52
54 trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1),
55 trace-cmd-start(1), trace-cmd-stop(1), trace-cmd-extract(1),
56 trace-cmd-reset(1), trace-cmd-split(1), trace-cmd-list(1)
57
59 Written by Steven Rostedt, <rostedt@goodmis.org[1]>
60
62 https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
63
65 Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted
66 under the terms of the GNU Public License (GPL).
67
69 1. rostedt@goodmis.org
70 mailto:rostedt@goodmis.org
71
72
73
74libtracefs 10/11/2022 TRACE-CMD-LISTEN(1)